Braveheartt Posted May 28, 2008 Share Posted May 28, 2008 I want to create several pages in which you have to input a password on the starting page to access. So for instance: start.php - password if correct redirect to home.php and access to: 1.php 2.php 3.php Etc if incorrect password, say so and redirect back to start.php if anyone tries to open a page beyond start.php they should be instantly redirected back to start.php unless they've inputted a correct password. So, what exactly would I put on every page? I know it's to do with sessions... Also should I protect each page then code in the content or vice versa? Quote Link to comment https://forums.phpfreaks.com/topic/107718-pages-protection/ Share on other sites More sharing options...
.josh Posted May 29, 2008 Share Posted May 29, 2008 google login tutorials. Quote Link to comment https://forums.phpfreaks.com/topic/107718-pages-protection/#findComment-552241 Share on other sites More sharing options...
unidox Posted May 29, 2008 Share Posted May 29, 2008 http://gigaspartan.com/ I made a login tutorial on it. Quote Link to comment https://forums.phpfreaks.com/topic/107718-pages-protection/#findComment-552248 Share on other sites More sharing options...
Gighalen Posted May 29, 2008 Share Posted May 29, 2008 http://evolt.org/node/60384 ^ Is great, out of the box. Just edit the constants.php file to your db info and run the tables.sql file. Quote Link to comment https://forums.phpfreaks.com/topic/107718-pages-protection/#findComment-552337 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.