Hi, normally when i want to password protect one of my scripts, i have a .html page with a input box where you type the password and hit submit, and in the script that handles the form, i do this:
If ($password == "mypassword") {
//run the script
} Else {
print ("Wrong password");
}
Is there anything wrong with doing it like this? Should i be using ssl or encrypting the password or something?
Thanks for any tips & advice 🙂