> Im curious to see how other php developers store their passwd's

I store it in the "universal include file" as $password["User"] = "Encrypted
password";

Then when the user logs in:

if (encryption_function($entered_password) == $password[$entered_username])
{
Do this stuff
} else{
echo("Please don't hack the llamas");
}

I'm serious about that last bit: Anyone who types in a wrong password gets a
"Please don't hack the llamas" message.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to