$username Posted August 13, 2007 Share Posted August 13, 2007 Hello All, I have some basic questions with registration and a forget password function. When some one registers, should one use MD5 to store the password in the database? And if that is the way one should how would you then get the password from the database so it can be emailed to the user? It seems like MD5s cannot be reversed to easily. If there is a easy way to do so, or another method that someone could share that would be awesome. Thanks, Brett Quote Link to comment https://forums.phpfreaks.com/topic/64725-solved-registration-and-forget-password-function/ Share on other sites More sharing options...
corillo181 Posted August 13, 2007 Share Posted August 13, 2007 MD5 was ment not to be reversed, but you can send them a email to change the password. Quote Link to comment https://forums.phpfreaks.com/topic/64725-solved-registration-and-forget-password-function/#findComment-322771 Share on other sites More sharing options...
$username Posted August 13, 2007 Author Share Posted August 13, 2007 So websites that send you the password are most likely using no encryption? Thanks, Brett Quote Link to comment https://forums.phpfreaks.com/topic/64725-solved-registration-and-forget-password-function/#findComment-322789 Share on other sites More sharing options...
corillo181 Posted August 13, 2007 Share Posted August 13, 2007 yes. thats why you see most famous website never give you your old password. Quote Link to comment https://forums.phpfreaks.com/topic/64725-solved-registration-and-forget-password-function/#findComment-322791 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.