Robert Elsdon Posted May 4, 2008 Share Posted May 4, 2008 I want it so that people have to register to acess all of the pages, but if they try to acess a page it comes up with a error saying You must be logged in to acess this page. Please help me im a PHP Newbie! Quote Link to comment Share on other sites More sharing options...
DeanWhitehouse Posted May 4, 2008 Share Posted May 4, 2008 I would use sessions then check for the session on the page's you want protected Quote Link to comment Share on other sites More sharing options...
Robert Elsdon Posted May 4, 2008 Author Share Posted May 4, 2008 Thanks alot but.. Could you get me the code ive been trying to look for ages. Please get me th code! thanks alot! Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted May 4, 2008 Share Posted May 4, 2008 Just Google "PHP login tutorial". http://www.trap17.com/index.php/php-simple-login-tutorial_t7887.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.