Re: Format of Encrypted Password

From: Date: Thu, 07 Sep 2006 19:50:15 +0000
Subject: Re: Format of Encrypted Password
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-241456@lists.php.net to get a copy of this message
On 9/5/06, Kevin Murphy <php@stubborndonkey.com> wrote:
$query = "select name from table where name = '$authuser' and password = password('$auth_pw')";
If you haven't tried this you can probably create accounts yourself manually in MySQL like this: INSERT INTO table (name, password) VALUES ('user', PASSWORD('pass'));

« previous php.general (#241456) next »