NameSilo

Php script and new (password protected?) pages

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
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
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back