Re: MD5 password

From: Date: Fri, 04 May 2001 17:11:18 +0000
Subject: Re: MD5 password
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51378@lists.php.net to get a copy of this message
Get Input password into $pwd Get hashed password from db into $hashed_pwd do compare like: if (md5($pwd) == $hashed_pwd) { // good! } ""Yamin Prabudy"" <phplist@pro.net.id> wrote in message news:004901c0d462$ff394240$fe2796ca@pro.net.id... > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#51378) next »