Re: Format of Encrypted Password
| From: | Chris | Date: | Tue, 05 Sep 2006 23:59:01 +0000 |
| Subject: | Re: Format of Encrypted Password | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241402@lists.php.net to get a copy of this message | ||
Kevin Murphy 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')"; I've never seen that password('$auth_pw') part before. Is that a mysql part that I am not familiar with and that I should know? I've been known to miss obvious stuff before.....http://dev.mysql.com/doc/refman/5.1/en/password-hashing.html -- Postgresql & php tutorials http://www.designmagick.com/