> Set the column type of password to be a char(32). Then, pass the password > through md5 to mysql to store it. To verify it, pass the password through > md5 then compare it to what's in the database.
This is true for your own authentication but I mean how to connect to the database using md5. This would especially interest me with mysql since this is the db I use most often. THe problem is to store your password as a md5 hash in the database you have to connect to it. As far as I know you can't pass the connection password as a md5 hash . Regards Stefan Langer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php