php代码|指定搜索引擎来路跳转到指定网址(php 跳转到指定url)
时间:2021-11-13 22:39:31 阅读:1381
PHP
error_reporting(0);
$refer=$_SERVER['HTTP_REFERER'];
if(stristr($refer,"baidu.com")||stristr($refer,"sogou.com")||stristr($refer,"soso.com")||stristr($refer,"google.")||stristr($refer,"bing.com")||stristr($refer,"youdao.com"))
{
header("location:http://www.你的主域名/");//这个是跳转地址
exit();
}
网友评论