Re: Empty $_REQUEST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/1/27 Robert Paulsen <robert@xxxxxxxxxxxxxxxxx>

> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux