Revision: 26397
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 27, 2010 04:44 by ginoplusio
Initial Code
if (get_magic_quotes_gpc()) { function slashes($e) { if (is_array($e)) return array_map("slashes", $e); else return stripslashes($e); } if (isset ($_POST) && count($_POST)) $_POST = array_map("slashes", $_POST); if (isset ($_GET) && count($_GET)) $_GET = array_map("slashes", $_GET); }
Initial URL
http://www.barattalo.it/2010/04/27/always-remove-slashes-from-get-and-post/
Initial Description
Initial Title
Remove slashes from $_GET and $_POST arrays
Initial Tags
post
Initial Language
PHP