php根据域名跳转代码
<?php switch ($_SERVER["HTTP_HOST"]) { case "www.bbsdiy.net": header("location:bbsdiy.html"); break; case "www.5x54.com": header("location:5x54.html"); break; case "www.hai-jun.com": header("location:hai-jun.html"); break; case "soft.5x54.com": header("location:soft.html"); break; case "down.5x54.com": header("location:down.html"); break; } ?>
收藏此文章 打印 更新 编辑此文章 『关闭窗口』