[php] 접속주소에 따라서 디렉토리 이동접속방법
페이지 정보
작성자 제로 작성일 09-12-24 18:32 조회 65,953 댓글 0본문
<? if($_SERVER[SERVER_NAME] == "abc.kr") :
?><script>document.location.href =
"D/index.php";</script> <? endif; ?>
<? if($_SERVER[SERVER_NAME] == "cba.kr") : ?><script>document.location.href = "E/index.php";</script> <? endif; ?>
<? if($_SERVER[SERVER_NAME] == "cba.kr") : ?><script>document.location.href = "E/index.php";</script> <? endif; ?>
댓글목록 0
등록된 댓글이 없습니다.
