Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function stripslashes_deep($value) {
- return (is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value));
- }
- function remove_magic_quotes() {
- if (get_magic_quotes_gpc()) {
- $_GET = stripslashes_deep($_GET );
- $_POST = stripslashes_deep($_POST );
- $_COOKIE = stripslashes_deep($_COOKIE);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement