Originally Posted by ViN86
i assume that youre using the .md5() to hash the password. is it ok to use the password() hashing method instead?
this is what i planned to use in my MySQL database.
What's the password() method? crypt()? I like MD5 because it's a one-way hash and to test for successful login all you have to do is:
if(md5($user_supplied_password) == $md5_value_from_db)