웹프로그래밍/PHP
[php] header Location 사용하여 페이지 이동하기
타자치는 고선생
2022. 10. 24. 16:31
728x90
반응형
php header 함수를 통해 페이지 이동, 즉 리다이렉트(redirect) 처리가 가능하다.
header() 함수위에 공백이 존재하면 에러가 발생하니 주의하자.
<?php
header('Location: https://gotiweb.tistory.com/');
?>
더보기
참고 :
https://www.php.net/manual/en/function.header.php
PHP: header - Manual
After lots of research and testing, I'd like to share my findings about my problems with Internet Explorer and file downloads. Take a look at this code, which replicates the normal download of a Javascript: Now let me explain: I start out by checking f
www.php.net
728x90
반응형