SHOW:
|
|
- or go back to the newest paste.
| 1 | - | array_walk_recursive($gpc, function(&$value) {
|
| 1 | + | /** |
| 2 | - | $value = stripslashes($value); |
| 2 | + | * Magic Quotes Fix |
| 3 | - | }); |
| 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 | } |