September 7th, 2000, 02:08 AM
Sorry for my bad English! I have a script who send the password to the users. The problem is; the password is encrypt. Is there a way to fix this, is it possible with my last line? I read almost all message on this board cannot find anything about this
$result = mysql_query ("SELECT user_name,email,password FROM users WHERE email = '$email'",$con);
if ($row = mysql_fetch_array($result))
$msg=$row["user_name"].", your password is:".$row["password"];
September 7th, 2000, 12:19 PM
That depends on how you encrypted the password. If you used mysql's password() function to encrypt, then no you can't decrypt it.