参考代码:
$httpHost = $_SERVER['HTTP_HOST'];
$indexNo = strpos($httpHost,"hfyefan.com");
if($indexNo===false){
header("location:http://www.mingyangnet.com/plugins/visitdenied/");
}
读完这篇文章后,您心情如何?
参考代码:
$httpHost = $_SERVER['HTTP_HOST'];
$indexNo = strpos($httpHost,"hfyefan.com");
if($indexNo===false){
header("location:http://www.mingyangnet.com/plugins/visitdenied/");
}