Hack Forums
[PHP] Easy Password Protected Page with Persistent Login - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183)
+---- Thread: [PHP] Easy Password Protected Page with Persistent Login (/showthread.php?tid=2963067)



Easy Password Protected Page with Persistent Login - alphabot - Oct 22, 2012

Wow, that was a mouthful of a title lol.

The only thing you need to really change is the hidden content and the master password at the top of the file.

Pastebin link to preserve tabbing: http://pastebin.com/5WpSARvK

EDIT: If you know what you're doing this can be extended for multiple pages.


* - Dogs Toy - Oct 23, 2012

Good Job, Im doing something similar, and will use this as a reference