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 (
To unsubscribe, visit:

Reply via email to