note 19991 added to function.md5
| From: | marcelpamphile at businessletters dot com | Date: | Mon, 18 Mar 2002 16:47:10 +0000 |
| Subject: | note 19991 added to function.md5 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27910@lists.php.net to get a copy of this message | ||
If your using MySQL and your password is in clear text, use this Update statement to MD5 every
password.
UPDATE myusers SET userpassword=MD5(userpassword)
That's it, all your passwords in the myusers table are MD5'ed !
--
http://www.php.net/manual/en/function.md5.php
http://master.php.net/manage/user-notes.php?action=edit+19991
http://master.php.net/manage/user-notes.php?action=delete+19991
http://master.php.net/manage/user-notes.php?action=reject+19991