Re: Escaping MySQL passwords necessary when md5 is used?

From: Date: Wed, 21 Sep 2011 19:32:58 +0000
Subject: Re: Escaping MySQL passwords necessary when md5 is used?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-314972@lists.php.net to get a copy of this message
On Wed, Sep 21, 2011 at 21:03, Daniel Brown <danbrown@php.net> wrote: >    It never hurts to be overly cautious, but as MD5 hashes are > strictly alphanumeric (using hex characters), you won't have an issue > with injection with the code above.  That is, of course, unless your > version of PHP is rebuilt without MD5 hash support, or some other > oddity that is on the outside edge of possibility. > The rebuild without md5 is an interesting point. That sounds exactly like the type of it-will-never-happen-until-it-happens-to-me problems! Thanks for the heads up. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com

« previous php.general (#314972) next »