<?
if (stristr($_SERVER[HTTP_HOST], "www.abc.com")) {
echo "<meta http-equiv='refresh' content='0; url=http://abc.com'>";
exit;
}
if (stristr($_SERVER[HTTP_HOST], "www.efg.com")) {
echo "<meta http-equiv='refresh' content='0; url=http://efg.com'>";
exit;
}
if (stristr($_SERVER[HTTP_HOST], "www.abc.com")) { $toLink = "./main/default.htm"; }
else if (stristr($_SERVER[HTTP_HOST], "abc.com")) { $toLink = "./main/default.htm"; }
else if (stristr($_SERVER[HTTP_HOST], "www.efg.com")) { $toLink = "./shop/index.htm"; }
else if (stristr($_SERVER[HTTP_HOST], "efg.com")) { $toLink = "./shop/index.htm"; }
else { echo "잘못된 주소입니다!!"; exit; }
include $toLink;
?>
if (stristr($_SERVER[HTTP_HOST], "www.abc.com")) {
echo "<meta http-equiv='refresh' content='0; url=http://abc.com'>";
exit;
}
if (stristr($_SERVER[HTTP_HOST], "www.efg.com")) {
echo "<meta http-equiv='refresh' content='0; url=http://efg.com'>";
exit;
}
if (stristr($_SERVER[HTTP_HOST], "www.abc.com")) { $toLink = "./main/default.htm"; }
else if (stristr($_SERVER[HTTP_HOST], "abc.com")) { $toLink = "./main/default.htm"; }
else if (stristr($_SERVER[HTTP_HOST], "www.efg.com")) { $toLink = "./shop/index.htm"; }
else if (stristr($_SERVER[HTTP_HOST], "efg.com")) { $toLink = "./shop/index.htm"; }
else { echo "잘못된 주소입니다!!"; exit; }
include $toLink;
?>
댓글 15개
게시글 목록
| 번호 | 제목 |
|---|---|
| 32458 | |
| 32438 | |
| 32437 | |
| 32436 | |
| 32427 | |
| 32416 | |
| 32411 | |
| 32404 | |
| 32396 | |
| 32377 | |
| 32366 | |
| 32360 | |
| 32331 | |
| 32322 | |
| 32319 | |
| 32314 | |
| 32298 | |
| 32297 | |
| 32287 | |
| 32282 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기