RE: [PHP-DB] MD5 hash problem

From: Date: Fri, 30 May 2003 18:38:08 +0000
Subject: RE: [PHP-DB] MD5 hash problem
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-28182@lists.php.net to get a copy of this message
> For every password that I store in the database I have found it is the > same string of characters no matter what the original $password is. That is because you have single quotes around your variable so it is not being expanded, so everytime it is the MD5 of the same thing, the string $password. > $pass = MD5('$password'); Change it to MD5($password); or MD5("$password");

« previous php.db (#28182) next »