Re: [PHP-DB] translating password($var) back to text
At 15:47 -0700 5/3/02, John Hughes wrote: >I am setting up a PHP-mySQL login script. One key feature I need is >the ability automatically to e-mail people their password when they >forget it. > >Obviously, I can store the password without using password() and >retrieve it at any time. Is it possible to store the password using >password() and retrieve a decoded value from mySQL? > >John Hughes According to the MySQL manual, PASSWORD() implements one-way encryption. You might want to consider ENCODE()/DECODE() instead. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] translating password($var) back to text
I am setting up a PHP-mySQL login script. One key feature I need is the ability automatically to e-mail people their password when they forget it. Obviously, I can store the password without using password() and retrieve it at any time. Is it possible to store the password using password() and retrieve a decoded value from mySQL? John Hughes __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php