Advertisement
Sparkster

Untitled

Oct 16th, 2013
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Magic Quotes Fix
  3.  */
  4. if(get_magic_quotes_gpc()) {
  5.     $gpc = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
  6.  
  7.     array_walk_recursive($gpc, function(&$value) {
  8.         $value = stripslashes($value);
  9.     });
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement