On Thursday 26 June 2003 16:22, Jeff Harris wrote: > http://www.php.net/md5 > > 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.
Or, to avoid problems with MD5 weaknesses, use SHA1 :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php