I am using password() to crypt a user password online. but how do i decrypt a user password, when user forgot his/her password?
kind regards m
You don't - that's the point. You have to provide them with a way to reset their password, based on some other method of authentication. Traditionally this is done with mailing a user a password reset link, and having that link only available for a short period of time.
- Martin Norland, Sys Admin / Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent those of St. Jude Children's Research Hospital.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php