function magic_quotes_strip($mixed)
{
if (is_array($mixed)) {return array_map('magic_quotes_strip',$mixed);}
return stripslashes($mixed);
}
if (get_magic_quotes_gpc() || ini_get('magic_quotes_sybase'))
{
$_GET = magic_quotes_strip($_GET);
$_POST = magic_quotes_strip($_POST);
$_COOKIE = magic_quotes_strip($_COOKIE);
$_REQUEST = array_merge($_GET,$_POST,$_COOKIE);
}