Hello all,
I'm making a system to retrieve the customers passwords. but it are been stored with the password function, and when I send the email to the customers it retrieve me the encrypted password and not the entered before.
How can I extract the normal password again?
here is my little script:
...
//extract email address and password
$query = "select email,passwd from i_users where email='$mailpass' AND username='$mailuser'";
$result = mysql_query($query, $db_conn) or die('query failed');
$row = mysql_fetch_assoc($result);
thanks you
I'm making a system to retrieve the customers passwords. but it are been stored with the password function, and when I send the email to the customers it retrieve me the encrypted password and not the entered before.
How can I extract the normal password again?
here is my little script:
...
//extract email address and password
$query = "select email,passwd from i_users where email='$mailpass' AND username='$mailuser'";
$result = mysql_query($query, $db_conn) or die('query failed');
$row = mysql_fetch_assoc($result);
thanks you