note 95082 added to function.get-magic-quotes-gpc
| From: | Nicolas at osu1 dot php dot net | Date: | Sat, 12 Dec 2009 16:59:13 +0000 |
| Subject: | note 95082 added to function.get-magic-quotes-gpc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163881@lists.php.net to get a copy of this message | ||
Why strip the slashes with those complex recursive functions? Just do this:
if (get_magic_quotes_gpc()) {
die "Please disable this stupid feature from the server";
}
----
Server IP: 69.147.83.197
Probable Submitter: 190.189.230.31
----
Manual Page -- http://www.php.net/manual/en/function.get-magic-quotes-gpc.php
Edit -- https://master.php.net/note/edit/95082
Del: integrated -- https://master.php.net/note/delete/95082/integrated
Del: useless -- https://master.php.net/note/delete/95082/useless
Del: bad code -- https://master.php.net/note/delete/95082/bad+code
Del: spam -- https://master.php.net/note/delete/95082/spam
Del: non-english -- https://master.php.net/note/delete/95082/non-english
Del: in docs -- https://master.php.net/note/delete/95082/in+docs
Del: other reasons-- https://master.php.net/note/delete/95082
Reject -- https://master.php.net/note/reject/95082
Search -- https://master.php.net/manage/user-notes.php