reel_biggy_fish Posted September 6, 2010 Author Share Posted September 6, 2010 oh okay i could easily just create a drop down menu and let them select from a wide choice. would this mean when they type their secret question would i have to display their secret question? or could i not have to do that and make sure they remember it? thanks again for your help. i have kinda understanding what i have to do Quote Link to comment Share on other sites More sharing options...
petroz Posted September 6, 2010 Share Posted September 6, 2010 Show them the question. Most people that can't remember their password might have trouble remembering their question... Quote Link to comment Share on other sites More sharing options...
reel_biggy_fish Posted September 6, 2010 Author Share Posted September 6, 2010 ahh okay thanks for clearing that one up. so i presume from all of this i would do ("SELECT * FROM `user` WHERE `question` = '$n'")); run the query, and then display the results in a textbox Quote Link to comment Share on other sites More sharing options...
petroz Posted September 7, 2010 Share Posted September 7, 2010 No.. I would recommend locking each question and answer to each user.. just make an additional field for question and answer for your user table... Quote Link to comment Share on other sites More sharing options...
reel_biggy_fish Posted September 7, 2010 Author Share Posted September 7, 2010 im sorry youve confused my with that by saying locking the question and answer? Quote Link to comment Share on other sites More sharing options...
petroz Posted September 7, 2010 Share Posted September 7, 2010 Basically... when the user is prompted to enter their answer to their security question, make sure you are showing them the right question. Quote Link to comment Share on other sites More sharing options...
reel_biggy_fish Posted September 7, 2010 Author Share Posted September 7, 2010 ohhh okay i understand you. isnt that just $n = $_POST['username']; select question from securityq where usern = $n Quote Link to comment 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.