forget password?

Philippines
June 10, 2008 9:16am CST
im new at making and editing web pages... and im even trying to do good for my thesis which would also be a website... can anyone help me?or teach me how to set a code for forget password? i knew the part where you have to confirm about the password or user.but my problem is to automatically send it to the email address. ive learned about mailto, but i dont think if its the proper solution
1 response
@owlwings (43915)
• Cambridge, England
10 Jun 08
It is usually done with a form (which can be HTML or Java) where the user enters their email address. You would use PHP and MySQL to look up the password associated with that address in your database of users and to mail it to them. Just plain HTML would not do because you have to have a database of users and passwords, of course.
• Philippines
10 Jun 08
tanx. i know that its not just plane html. i already have database for this too. i could even send mail if its in admin side, but it cant send automatically. and the thing is im trying to have this on client side and that it would directly send information to the email add of the client...just like when some client lost his password in mylot...thats what im really trying to solve
@owlwings (43915)
• Cambridge, England
10 Jun 08
Having read your question again, it seems that you need MAPI or STML facilities on your server to send mail. They may already be installed and you may just need to know the appropriate call. Try these links (depending on whether you have Linux or Windows): http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html http://support.microsoft.com/kb/312839 http://www.asp101.com/articles/john/cdosmtprelay/default.asp (not sure if this is applicable)