Re: login script

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

 



I would hope that MD5 hashing is MD5 hashing no matter where it
originates.  However, I think it's better to use the database server's
implementation.  I believe it is less likely to be changed in future
versions, and it removes some processing time from the front end.
Additionally, if you ever move away from PHP, you have one less line
of platform-specific code to change.

On 8/15/06, Dave Goodchild <buddhamagnet@xxxxxxxxx> wrote:

$pass = md5(password);
select * from table 1 where password = '$pass';

I think the php and mysql md5 functions differ but I may be wrong!


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


[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