Last time I posted an ASP and bound multiple domain names to one space without affecting each other. It was very popular.
$domain_net="abc.com";
$dot_net_url="bbs/";
$dot_com_url="flash";
if(($HTTP_HOST=="$domain_net" )or($HTTP_HOST=="www.$domain_net"))
{
Header("Location: $dot_net_url");
}
else
{
Header(" Location: $dot_com_url");
}
?>
http://www.bkjia.com/PHPjc/532495.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532495.htmlTechArticleLast time I posted an ASP with multiple domain names bound to one space without affecting each other's popularity. $domain_net="abc.com"; $dot_net_url="bbs/"; $dot_com_url="flash"; if(($HTTP_HOST=="$domain_net")o...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn