Re: Empty $_REQUEST
| From: | Alpár Török | Date: | Tue, 27 Jan 2009 20:25:07 +0000 |
| Subject: | Re: Empty $_REQUEST | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287236@lists.php.net to get a copy of this message | ||
2009/1/27 Robert Paulsen <robert@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