2009/1/27 Robert Paulsen <rob...@paulsenonline.net>

> On Tuesday 27 January 2009 2:13 pm, Alpár Török wrote:
>
> > why don't you just use phps md5() function ? you might mess up something
> in
> > that process of hashing that  you use and  you create another, probably
> > useless trip to the db.
> >
>
> I just don't know any better! I'll look it up.
>
php has an md5 function built in. so you can jsut do

$hash = md5($passwd);
and use that in the query that checks if the password is correct;


>
> Thanks,
> Bob
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Alpar Torok

Reply via email to