note 62376 added to security.magicquotes
| From: | php-general at lists dot php dot net | Date: | Mon, 27 Feb 2006 11:11:18 +0000 |
| Subject: | note 62376 added to security.magicquotes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-104478@lists.php.net to get a copy of this message | ||
Using the .htaccess file may not always be possible for instance if you are running php on a windows
IIS server.
Also the code by jfrim at idirect dot com doesn't actually fix the problem as it is stripping
slashes, what you need to do is addslashes to things coming in.
the code by jfrim at idirect dot com is the right idea though although rather than saying
stripslashes, you simply need to say addslashes and it should work.
----
Server IP: 84.18.202.180
Probable Submitter: 195.92.119.204
----
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/security.magicquotes.php
Edit -- http://master.php.net/note/edit/62376
Del: integrated -- http://master.php.net/note/delete/62376/integrated
Del: useless -- http://master.php.net/note/delete/62376/useless
Del: bad code -- http://master.php.net/note/delete/62376/bad+code
Del: spam -- http://master.php.net/note/delete/62376/spam
Del: non-english -- http://master.php.net/note/delete/62376/non-english
Del: in docs -- http://master.php.net/note/delete/62376/in+docs
Del: other reasons-- http://master.php.net/note/delete/62376
Reject -- http://master.php.net/note/reject/62376
Search -- http://master.php.net/manage/user-notes.php