note 100852 added to security.magicquotes.disabling
| From: | AskApache at osu1 dot php dot net | Date: | Thu, 11 Nov 2010 05:18:15 +0000 |
| Subject: | note 100852 added to security.magicquotes.disabling | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-173935@lists.php.net to get a copy of this message | ||
Nice function from metala at metala dot org, here's a minimal version.
<?php
if (get_magic_quotes_gpc())
array_walk_recursive($gpc=array(&$_GET,&$_POST,&$_COOKIE,&$_REQUEST),
create_function('&$v,$k','$v=stripslashes($v);'));
?>
----
Server IP: 64.71.164.2
Probable Submitter: 24.123.215.58
----
Manual Page -- http://www.php.net/manual/en/security.magicquotes.disabling.php
Edit -- https://master.php.net/note/edit/100852
Del: integrated -- https://master.php.net/note/delete/100852/integrated
Del: useless -- https://master.php.net/note/delete/100852/useless
Del: bad code -- https://master.php.net/note/delete/100852/bad+code
Del: spam -- https://master.php.net/note/delete/100852/spam
Del: non-english -- https://master.php.net/note/delete/100852/non-english
Del: in docs -- https://master.php.net/note/delete/100852/in+docs
Del: other reasons-- https://master.php.net/note/delete/100852
Reject -- https://master.php.net/note/reject/100852
Search -- https://master.php.net/manage/user-notes.php