时间:2019-11-16加入收藏
if($HTTP_HOST=="www.baidu.com"){
Header("Location: moon.htm");
}
elseif($HTTP_HOST=="www.baidu.info"){
Header("Location: long.htm");
}
else{
Header("Location: other.htm");
}
if($HTTP_HOST=="www.baidu.com"){
require "moon.htm";
}
elseif($HTTP_HOST=="www.baidu.info"){
require "long.htm";
}
else{
require "other.htm";
}
TGA: php