note 116946 added to mysqli.real-escape-string

From: Date: Wed, 25 Mar 2015 21:20:04 +0000
Subject: note 116946 added to mysqli.real-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-202033@lists.php.net to get a copy of this message
If you wonder why (besides \, ' and ") NUL (ASCII 0), \n, \r, and Control-Z are escaped: it is not to prevent sql injection, but to prevent your sql logfile to get unreadable. ---- Server IP: 103.21.58.61 Probable Submitter: 87.210.127.245 ---- Manual Page -- http://php.net/manual/en/mysqli.real-escape-string.php Edit -- https://master.php.net/note/edit/116946 Del: integrated -- https://master.php.net/note/delete/116946/integrated Del: useless -- https://master.php.net/note/delete/116946/useless Del: bad code -- https://master.php.net/note/delete/116946/bad+code Del: spam -- https://master.php.net/note/delete/116946/spam Del: non-english -- https://master.php.net/note/delete/116946/non-english Del: in docs -- https://master.php.net/note/delete/116946/in+docs Del: other reasons-- https://master.php.net/note/delete/116946 Reject -- https://master.php.net/note/reject/116946 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#202033) next »