Posted by Mike on 02/01/06 10:24
Thats all good but how would you send the password back to the user if
they forget it. E.G. "Enter your email address and we will email you
your password" You can't as MD5 is only one way.
You can do it with encrypt() but if someone has the knowledge to access
your database I'm pretty sure they would know how to decrypt the
password.
Other than sending the user a new password and getting them to change
it I don't think you can.
Mikee
[Back to original message]
|