Please guys help me with the code,...!
Here we have a forget.php
page (which enable user to change his pass)...
When some body enters an e-mail id existing in mysql database, then an e-mail is sent to the user about a unique code which is stored in the database along with username, password, e-mail id and conf (explained later).
user clicks on the unique code link some what like "confirm.php?uid=1d9f501a7fce750aa35f632246e37ee0"
meanwhile conf
an int
field value is changed to 2
.
conf
: It is actually used for example 0 - the user is newly signed up and has not confirmed his e-mail id. and 1 for this is normal state, and 2 is for an existing user who requested for the new password.