Originally posted by drawmack
1) generate a new password for the person
2) update their record in the database
3) email the new password to the person
NOOO it is badly example, doing this:
1) If user enter your nick and email , then step 2)
2) Generate a new password and send to his email with autorization, this example:
Please click on the link if you like to have a new password:
http://doamin.ee/new_password.php?nick=IBSN&e-mail=ibsn@proglan.pri.ee&password=qwert12345
if he click on this link, then he redirect on new_password.php then step 3
3) If nick and email validle and using on database, then step 4
4) If password is not null then update the database where nick and email is...
...