Re: ok, I ask again.. how to encrypt to be able to match database info?
| From: | Tom Rogers | Date: | Tue, 22 Jan 2002 00:21:17 +0000 |
| Subject: | Re: ok, I ask again.. how to encrypt to be able to match database info? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81461@lists.php.net to get a copy of this message | ||
Hi
Encrypt the password from the form using the same salt value as the one used for the database then compare them...
Tom
At 05:36 22/01/02, Hawk wrote:
I've asked this several times but it doesn't seem like anyone understands my problem, the passwords are encrypted in the database, but I don't know how to match an unencrypted password from the login form with the database? is it possible to encrypt the password I sent from the form in php or does that have to be done in mysql? in any case, how do I do it? If you don't have anything bright to say, don't, in some of the replys I've had earlier it sounds like you think I'm an idiot... And even if I am, I don't want to be refered as one ;) -- 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