I’d like to create a simple password form or script that redirects the visitor to another page after the correct password has been entered.
The only security requirement is some sort of password scrambling / hashing (if the password is visible in source code).
The password ain’t protecting anything valuable but it would be used in a web-based competition, and that’s why it’s important to minimize the obvious cheating options 🙂
I cannot code much myself (beyond HTML/CSS) so any help is greatly appreciated. I think this kind of script would be useful for other coding newbies also.
If you have any further questions, fire away!
HTML form with method post and href to ‘auth.php’;
source of auth.php:
So you just need to run one time:
and insert it into code above 🙂