$val ) { if (! is_array ( $val )) { $array [$k] = stripslashes ( $val ); } else { fix_magic_quotes ( $array [$k] ); } } } fix_magic_quotes ( $_GET ); fix_magic_quotes ( $_POST ); fix_magic_quotes ( $_COOKIE ); fix_magic_quotes ( $_REQUEST ); fix_magic_quotes ( $_ENV ); fix_magic_quotes ( $_SERVER ); } // vim: et sw=4 sts=4