At 23:27 -0800 11/12/02, Ben C. wrote:
>I am using the MySQL password() function for the my passwords on the user
>names. How do I decrypt the password in PHP to send it in an e-mail. I am
>making a forgot your password page and want to have the user enter their
>e-mail and have the password sent to them.
It's always a good idea to read the manual before assuming that a function
behaves in a certain way. In this case, what you ask is impossible.
The manual makes it clear that PASSWORD() encryption is non-reversable: