<?
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개
게시글 목록
| 번호 | 제목 |
|---|---|
| 32281 | |
| 32267 | |
| 32264 | |
| 32262 | |
| 32254 | |
| 32239 | |
| 32232 | |
| 32221 | |
| 32220 | |
| 32217 | |
| 32204 | |
| 32203 | |
| 32200 | |
| 32192 | |
| 32161 | |
| 32154 | |
| 32150 | |
| 32146 | |
| 32137 | |
| 32116 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기