Forums

PHP

This topic is locked

email users lost login details

Posted 04 Feb 2008 23:08:32
1
has voted
04 Feb 2008 23:08:32 Peter Pritchard posted:
Emailing lost password.

I am putting together my first php and mysql website. I have created a basic user login in dreamweaver which works great, but can’t seem to find anything in dreamweaver where if the users of my website forgets there login details they can have them emailed to them by inserting there email address in a form.

I have a table named userlogin and the two fields I would like emailed to the user are the “useremail” (usermail is the users login name) and “password”.

Any help will be much appreciated

Peter


Replies

Replied 21 Feb 2008 14:35:25
21 Feb 2008 14:35:25 Roddy Dairion replied:
Its a 3 step process
step1
User needs to enter the email address he used to register on your website.

step2
Very if user exists in the database

step3
use mail() function to send all his login details to the user.


Reply to this topic