On Thu, 24 Feb 2005 02:37:01 -0800 (PST), Gael Lams <g_lams@xxxxxxxxx> wrote: > Hi all > > I use the classic following rows to connect to a mysql > database. I always put $passsword in clear in the php > connection file and I wonder whether there is a way to > have it in md5 so that someone reading the file could > not use it to connect to the db. I googled a bit but > find only threads explaining how to have password > saved in md5 inside a mysql table which is not I would > like to do Because MySQL is using another password-hashing-algoritm other than MD5, as far as I know, it is not possible. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php