note 75722 added to security.magicquotes.whynot
| From: | rjh at netcraft dot com | Date: | Wed, 13 Jun 2007 09:50:42 +0000 |
| Subject: | note 75722 added to security.magicquotes.whynot | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127443@lists.php.net to get a copy of this message | ||
Additionally, addslashes() is not a cure-all against SQL injection attacks. You should use your
database's dedicated escape function (such as mysql_escape_string) or better yet, use
parameterised queries through mysqli->prepare().
----
Server IP: 194.145.210.3
Probable Submitter: 194.72.238.108
----
Manual Page -- http://www.php.net/manual/en/security.magicquotes.whynot.php
Edit -- https://master.php.net/note/edit/75722
Del: integrated -- https://master.php.net/note/delete/75722/integrated
Del: useless -- https://master.php.net/note/delete/75722/useless
Del: bad code -- https://master.php.net/note/delete/75722/bad+code
Del: spam -- https://master.php.net/note/delete/75722/spam
Del: non-english -- https://master.php.net/note/delete/75722/non-english
Del: in docs -- https://master.php.net/note/delete/75722/in+docs
Del: other reasons-- https://master.php.net/note/delete/75722
Reject -- https://master.php.net/note/reject/75722
Search -- https://master.php.net/manage/user-notes.php