Validating user input in php algoa datingbuzz
In this script, we just check that the cookie exists and is valid.
We then do the important check of if the entered values are equal to the preset username and password.
If they aren't we display an error message, however, if they are, the cookie will be set.
After all it's only the browser display being obfuscated and not the data transfer.
Because the input type obscures the text typed, you should let the user confirm that they haven't made a mistake.
The password won't appear on the screen as you type and most browsers also won't 'remember' the values entered in fields as they do with other form elements.