Search results The results is only based on Apollo89.com
1 posts are related to '페이지이동'
  1. 2007/05/09 [PHP]리다이렉션(페이지 이동)의 3가지 방법
1. 먼저 메타테그를 이용한 방법입니다.
<?
echo "<meta http-equiv='refresh' content='0; url=http://도메인'>"
;
?>

2. 자바스크립트를 이용한 방법
<?
echo
"<script>
document.location.href='도메인';
</script>"
;
?>
또는
<?
echo "<script>

window.location.replace('도메인');

</script>";
?>

3. 헤더를 이용한 방법

<?
header
("Location: 도메인"
);
?>

크리에이티브 커먼즈 라이센스
Creative Commons License
2007/05/09 21:24 2007/05/09 21:24


Total: 213291 (Today: 82, Yesterday: 81)

RSS
읽고 있는 책