Home > php教程 > php手册 > 多个域名绑定一个空间互不影响

多个域名绑定一个空间互不影响

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-22 18:36:08
Original
1395 people have browsed it

上次发了一个ASP多个域名绑定一个空间互不影响 人气旺旺的。

<?php
$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");
}
Copy after login


教程地址:

欢迎转载!但请带上文章地址^^

Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template