Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Php script and new (password protected?) pages

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

broke-r

Established Member
Impact
1
I have recently installed a community-style php script, which requires users to login first in order to proceed to the main (script) website.

Now, I want to create new pages, with links I will place on the script's templates.

BUT how can I make these new pages accessible ONLY to my script's registered users? D-:

Thanks for any help you can provide.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Hello,

First I need to know what your script is. OR edit one of the password-protected pages and looking for stuff like

$_SESSION['(TEXT HERE)'] and $_COOKIE['(TEXT HERE)']

Let me know what you find and I will be able to help you.

- Steve
 
0
Close
Put the login code in another file and just include that particluar file where ever you want login neccessary.
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back