> Hi there assume that I had a password field in md5 format like this
> $1$uJ8d$jJKOHnfh^79824/.
> how do i compare an input password to the password that I sore in database
>
> so it can return right or wrong password

Just compare the md5 hashed password with the md5 hashed string from the
database. If the password is like the string, the hashes must equal, too.

The difficult lies IMHO in hashing the password on client side. There are
Javascripts-Modules out there in the Net, but this is rather unsecure.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to