By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,036 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,036 IT Pros & Developers. It's quick & easy.

Forgot Password Script Help

P: 2
Hiya guys, I am a basic php programmer, I'm currently doing a forgotten password feature for a project and only started working on it last night. I was succuessful to set up a form and a database to test out checking the email in the database to then send a password to the user email account however it is currently sending nothing to them. Any help/tips would be greatly apprecated.
Apr 23 '10 #1
Share this Question
Share on Google+
3 Replies


Atli
Expert 5K+
P: 5,058
Hey.

We would need to see the code that is causing the problem to be help you figure this out.
Also, make sure you have the error messages turned on and post them here as well, if any.
Apr 23 '10 #2

100+
P: 384
Just a tip on this, I would advise you to use one of the built in encryption methods in PHP like sha or md5 when storing the password in the database and instead of retrieving a password from the database and sending it to the client I would send a password change email so you can reduce the chance of passwords being intercepted and it helps with security in general.
Apr 23 '10 #3

P: 2
Hiya guys, sorry on late reply I have just been busy. For the moment the code I am using is off http://www.phpeasystep.com/phptu/21.html The only changes I had made to it is the connection details e.g local host etc, For adding some encryption methods I was planning on doing so if I had the time but I only have a day or so to get this done so I was just wanting to get a working feature done first and if any time I would add some to it. At all will I need a mail server to send the email? Going to see a group member next week who said he had one for something else and was planning on to help me get it working.

Thanks for your help and advice.
Apr 24 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.