ngreenwood6 Posted August 4, 2008 Share Posted August 4, 2008 I am looking for something where on the main page if a user forgets their password they can click forgot password. It will then take them to a page where they can put in their email address. Once they put in their email address they will have to verify their security question and enter a new password which gets submitted to the database. I have the security question already set up and the database for the users. I just cannot get the password recovery section. I have googled and looked at tutorials to no luck. Someone please help it will be appreciated. Link to comment https://forums.phpfreaks.com/topic/118151-simple-password-recovery/ Share on other sites More sharing options...
DarkWater Posted August 4, 2008 Share Posted August 4, 2008 Why did you post like 3 topics on this, if you don't mind me asking? It won't get you more help than one topic would. In fact, it's likely to get less help. And all you have to do is check against what's in the database and give them a new password. Basic MySQL stuff. Link to comment https://forums.phpfreaks.com/topic/118151-simple-password-recovery/#findComment-607877 Share on other sites More sharing options...
Jabop Posted August 4, 2008 Share Posted August 4, 2008 $temp_pass= ''; // make a random password here email the temp password once they log in prompt them to change it viola Link to comment https://forums.phpfreaks.com/topic/118151-simple-password-recovery/#findComment-607880 Share on other sites More sharing options...
ngreenwood6 Posted August 4, 2008 Author Share Posted August 4, 2008 This is the third post because I figured I would just start over and see if someone could help me from the beginning. jabop the whole point is to not email them a password. If I wanted it emailed to them i could have already done that. I think it is inconvienent to check my email. I just want to reset it while i am there. Please only post if you are willing to help. Link to comment https://forums.phpfreaks.com/topic/118151-simple-password-recovery/#findComment-607892 Share on other sites More sharing options...
Jabop Posted August 4, 2008 Share Posted August 4, 2008 Well based off of your posts, that's all you're looking for is help. It seems as if you're trying to get everyone here to completely write your site for you. Link to comment https://forums.phpfreaks.com/topic/118151-simple-password-recovery/#findComment-607896 Share on other sites More sharing options...
ngreenwood6 Posted August 4, 2008 Author Share Posted August 4, 2008 I am not even developing a site. I am trying to learn php and mysql. I have a little knowledge and books just don't show real world uses. So I am creating test features so that I can learn how to get and insert data into databases. Sorry for trying to learn. Link to comment https://forums.phpfreaks.com/topic/118151-simple-password-recovery/#findComment-607900 Share on other sites More sharing options...
Jabop Posted August 4, 2008 Share Posted August 4, 2008 You said you googled with no luck. Did you attempt to use the route of trial and error? Secondly, you didn't even really list the problem you're having. Link to comment https://forums.phpfreaks.com/topic/118151-simple-password-recovery/#findComment-607905 Share on other sites More sharing options...
ngreenwood6 Posted August 4, 2008 Author Share Posted August 4, 2008 I have attempted this I have it set-up, but whenever i try to reset the password it resets the password for the correct email address but it makes the password blank no matter what I put in the text box. Link to comment https://forums.phpfreaks.com/topic/118151-simple-password-recovery/#findComment-607910 Share on other sites More sharing options...
DarkWater Posted August 4, 2008 Share Posted August 4, 2008 Show some code? *sigh* Link to comment https://forums.phpfreaks.com/topic/118151-simple-password-recovery/#findComment-607922 Share on other sites More sharing options...
ohdang888 Posted August 4, 2008 Share Posted August 4, 2008 dude this is extremely simple stuff i'll walk you through it.. if What they answered in the security question form equals their answer in the databse, then display the form that would change their password easy stuff, simple "if" statements Link to comment https://forums.phpfreaks.com/topic/118151-simple-password-recovery/#findComment-607950 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.