RE: MD5 hash problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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");


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux