note 85139 deleted from function.mysql-real-escape-string by danbrown

From: Date: Sat, 14 Mar 2009 15:01:18 +0000
Subject: note 85139 deleted from function.mysql-real-escape-string by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151912@lists.php.net to get a copy of this message
Note Submitter: tony ---- One of the situations mentioned at: This function must always (with few exceptions) be used to make data safe before sending a query to MySQL is if you have hashed a string using md5() or sha1(). e.g. <?php $str = md5("Some random string"); // Does not need to be escaped ?>

« previous php.notes (#151912) next »