도메인 점프 (Domain Jump)
페이지 정보
작성자 서방님 댓글 0건 조회 79회 작성일 12-02-16 10:42본문
### asp Code ###
<%
if request.servervariables("server_name")="kookmintv.net" then
response.redirect("/1")
else if request.servervariables("server_name")="www.kookmintv.net" then
response.redirect("/1")
else
response.redirect("/2")
end if
%>
$$$ php Code $$$
<?
if(($http_host=="kookmintv.net")or($http_host=="www.kookmintv.net"))
{
header("location: /");
}
elseif(($http_host=="hcntv.co.kr")or($http_host=="www.hcntv.co.kr"))
{
header("location: /home/qrix");
}
elseif(($http_host=="qrixtv.co.kr")or($http_host=="www.qrixtv.co.kr"))
{
header("location: /home/qrix");
}
else
?>
댓글목록
등록된 댓글이 없습니다.