real password value

From: Date: Fri, 13 Dec 2002 19:58:06 +0000
Subject: real password value
Groups: php.general 
Request: Send a blank email to php-general+get-128207@lists.php.net to get a copy of this message
Hi all; do you know how to decrypt password('xxx'); value? For example I have a function that mails password to user's mail address but result is here; User Name: xjunky Password :1ef781ad7c4b0dc2 Thanks. I've inserted the password as password('$passw'); and selected as belove function notify_password($username,$email){ if (!($conn = db_connect())) return false; $result = mysql_query("select email,pass from site_members where User_Name='$username' and email='$email'"); $email = mysql_result($result, 0, "email"); $password=mysql_result($result, 0, "pass"); $from = "From: info@xxx.com \r\n"; $mesg = "User Name: $username\r\n" ."Password : $password \r\n" ."Thanks.\r\n"; if (mail($email, "Password Information", $mesg, $from)){ return true; }else{ return false; } } how to send the true value of th password? thanks everybody who cares with it.

« previous php.general (#128207) next »