Users Viewing This Thread
 1 Guest(s)
amatorbalikci.net

Post Reply  Post Thread 
PHP recover password by email facility
Author Message
smacker
Member
***


Posts: 234
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0

Country:
Post: #1
PHP recover password by email facility

Hi all.

Im developing an admin at the moment, which allows the user to create an account with email/password. The password is stored as an encrypted value in the DB using the sql 'PASSWORD' function.

Id like to provide a 'Lost your password' option on the login screen, which allows the user to input their email address and get mailed their password.

My query is how do I 'decrypt' the password so that the original gets mailed to the user?

Its currently mailing the encrypted version, which obviously will make no sense to the user.

Any help would be appreciated!

09-14-2007 07:32 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: