Re: Format of Encrypted Password

From: Date: Thu, 07 Sep 2006 19:31:00 +0000
Subject: Re: Format of Encrypted Password
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-241455@lists.php.net to get a copy of this message
On 9/5/06, Kevin Murphy <php@stubborndonkey.com> wrote:
The only thing I can find anywhere in the code is this: $auth_user = $_SERVER['PHP_AUTH_USER']; $auth_pw = $_SERVER['PHP_AUTH_PW']; $query = "select name from table where name = '$authuser' and password = password('$auth_pw')";
You are using the password() function of mysql to 'encrypt' the password. -- Saludos Oscar

« previous php.general (#241455) next »