//note 对GPC变量进行安全处理 if (!MAGIC_QUOTES_GPC) { $_GET = MooAddslashes($_GET); $_POST = MooAddslashes($_POST); $_COOKIE = MooAddslashes($_COOKIE); $_REQUEST = MooAddslashes($_REQUEST); $_SERVER = MooAddslashes($_SERVER); $_FILES = MooAddslashes($_FILES); }