Sava’s Password Protect
Sava’s Password Protect Script offers it’s users the option to password protect the pages that others aren’t supposed to see. Just edit the file and set your login and password and then just include the file on every page you want to have a password. You can also choose that the script will request just the password, without requesting an username. Rename the file to something only you know and include it to the pages you want to password protect Read me File contains more detailed instructions. Just in case you don’t know the path to the file just access it via your browser and append ?code at the end. The script will show you the correct include path.
Preview | Download (1.78KB) ( 7119 downloads )
3 Responses to “Sava’s Password Protect”
All your scripts are simple and good, neat. But your password protect script does not work, it just keeps saying incorrect password, any ideas?
Right, i’ve found out that if i set the username to false then the script works but….it only works on one page.
I’ve created 3 pages on my site, admin.php, index.php, and private.php and included the log in code in all of them. Only private.php shows the log-in form the others take me directly to the page. At first i thought it must be due to cookies keeping me logged in but i tried it in 2 other browsers and i still get the log in form on private.php, but not on the other two. I’ve checked and checked again and the code is correct so how is this?
Email me using the contact form with a link to your files so I can check and see what’s happening.