Get Input password into $pwd
Get hashed password from db into $hashed_pwd

do compare like:
if (md5($pwd) == $hashed_pwd) { // good! }

""Yamin Prabudy"" <[EMAIL PROTECTED]> wrote in message
004901c0d462$ff394240$[EMAIL PROTECTED]">news:004901c0d462$ff394240$[EMAIL PROTECTED]...
> 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
>
> thanks
>
> Yamin Prabudy
>
>
> --
> 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]
>



-- 
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