Originally Posted by evilghost
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)
the password() function is a hash function as well. it's inside MySQL i believe.
actually, it appears to be its own encryption function in MySQL. i found a way to call the function outside of MySQL. i assume i just use that function instead of the md5() call?