note 85139 added to function.mysql-real-escape-string

From: Date: Sat, 16 Aug 2008 16:16:18 +0000
Subject: note 85139 added to function.mysql-real-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-143560@lists.php.net to get a copy of this message
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 ?> ---- Server IP: 216.92.131.65 Probable Submitter: 84.203.233.212 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-real-escape-string.php Edit -- https://master.php.net/note/edit/85139 Del: integrated -- https://master.php.net/note/delete/85139/integrated Del: useless -- https://master.php.net/note/delete/85139/useless Del: bad code -- https://master.php.net/note/delete/85139/bad+code Del: spam -- https://master.php.net/note/delete/85139/spam Del: non-english -- https://master.php.net/note/delete/85139/non-english Del: in docs -- https://master.php.net/note/delete/85139/in+docs Del: other reasons-- https://master.php.net/note/delete/85139 Reject -- https://master.php.net/note/reject/85139 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#143560) next »