$magic_quotes_gpc = get_magic_quotes_gpc();
$register_globals = @ini_get('register_globals');
if(!$register_globals || !$magic_quotes_gpc) {
extract($mc->daddslashes($_GET ), EXTR_OVERWRITE);
extract($mc->daddslashes($_POST), EXTR_OVERWRITE);
if(!$magic_quotes_gpc) {
$_SERVER = $mc->daddslashes($_SERVER);
$_COOKIE = $mc->daddslashes($_COOKIE);
}
}