note 66836 added to function.mysql-real-escape-string
| From: | nicolas at osu1 dot php dot net | Date: | Tue, 30 May 2006 20:38:12 +0000 |
| Subject: | note 66836 added to function.mysql-real-escape-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-112565@lists.php.net to get a copy of this message | ||
Note that mysql_real_escape_string doesn't prepend backslashes to \x00, \n, \r, and and \x1a as
mentionned in the documentation, but actually replaces the character with a MySQL acceptable
representation for queries (e.g. \n is replaced with the '\n' litteral). (\, ', and
" are escaped as documented) This doesn't change how you should use this function, but I
think it's good to know.
----
Server IP: 216.235.15.211
Probable Submitter: 205.193.50.10
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mysql-real-escape-string.php
Edit -- http://master.php.net/note/edit/66836
Del: integrated -- http://master.php.net/note/delete/66836/integrated
Del: useless -- http://master.php.net/note/delete/66836/useless
Del: bad code -- http://master.php.net/note/delete/66836/bad+code
Del: spam -- http://master.php.net/note/delete/66836/spam
Del: non-english -- http://master.php.net/note/delete/66836/non-english
Del: in docs -- http://master.php.net/note/delete/66836/in+docs
Del: other reasons-- http://master.php.net/note/delete/66836
Reject -- http://master.php.net/note/reject/66836
Search -- http://master.php.net/manage/user-notes.php