도메인 점프 (Domain Jump) > php

본문 바로가기
사이트 내 전체검색

php

도메인 점프 (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
?>

 

댓글목록

등록된 댓글이 없습니다.

Total 612건 35 페이지
게시물 검색

회원로그인

접속자집계

오늘
284
어제
225
최대
1,347
전체
155,043
Latest Crypto Fear & Greed Index

그누보드5
Copyright © 서방님.kr All rights reserved.