if (strpos($_SERVER['HTTP_USER_AGENT'], 'Quark') !== false) { echo '

请使用正规浏览器访问本站

'; exit; }