Re: [PHP-DB] Re: cookie trouble From: Mark Nenadov (mark <email protected>)
Date: 10/31/02

On October 31, 2002 02:48 pm, Seabird wrote:
> I got this fixed,
>
> but how do I reverse a md5 encryption????? this way I can log people in
> again.
>
> Jacco

You can't reverse md5. All you need to do is compare an md5'ed copy of what
the user entered to what you have in your database (or wherever you store the
encrypted copy). If they are the same, then they have entered the right
password.

-- 
Mark Nenadov,
Freelance Software Developer
web: http://www.freelance-developer.com
e-mail: mark <email protected>

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