madspof Posted September 3, 2007 Share Posted September 3, 2007 I am thinking about designing a forgot password feature for my website, I am using md5 encryption. Is there a way of telling the user his orignal password or would i have to reset there password Quote Link to comment https://forums.phpfreaks.com/topic/67760-forgot-password/ Share on other sites More sharing options...
vijayfreaks Posted September 3, 2007 Share Posted September 3, 2007 Hi.. for that you have to reset it via random string and then md5 and store it.. and then send it to user.. Regards, Vijay Quote Link to comment https://forums.phpfreaks.com/topic/67760-forgot-password/#findComment-340400 Share on other sites More sharing options...
Daniel0 Posted September 3, 2007 Share Posted September 3, 2007 MD5 is one-way so there is no way to decrypt it. Quote Link to comment https://forums.phpfreaks.com/topic/67760-forgot-password/#findComment-340401 Share on other sites More sharing options...
jitesh Posted September 3, 2007 Share Posted September 3, 2007 just try http://www.phpfreaks.com/forums/index.php/topic,154754.msg670290.html#msg670290 Quote Link to comment https://forums.phpfreaks.com/topic/67760-forgot-password/#findComment-340408 Share on other sites More sharing options...
AdRock Posted September 3, 2007 Share Posted September 3, 2007 I have the lost password feature on my site and I also have the feature where they can change their password. Basically, if they have lost their password, a new encrypted password is emailed to the user and the new password is updated in the database. I also allow the user to change the password to their own choice and that is also encrypted and put back in the databse. Have a look here http://www.devarticles.com/c/a/PHP/Creating-a-Membership-System/1/ for the lost password utility Quote Link to comment https://forums.phpfreaks.com/topic/67760-forgot-password/#findComment-340417 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.