이런 오류나는건 어떻게 수정해야되나요? > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

이런 오류나는건 어떻게 수정해야되나요? 정보

이런 오류나는건 어떻게 수정해야되나요?

본문

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 38
 
---------------------
 
하나 해결하면 또 하나가 말썽이고..
 
정말 미치겠습니다 ㅠㅠ
  • 복사

댓글 전체

고아칸님,, 저도 처음에,,아니 지금도 미칩니다,,^^;;
하지만 찾아보시면 답들이 나와 있거든요,,
http://www.sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=48984&sca=&sfl=wr_subject%7C%7Cwr_content&stx=headers+already&sop=and
한번 오류 구문으로 검색해보세요~~ ^^
답변에도 새나라어른님께서
================================
// 로 라인 주석 처리 하셔도 됩니다.
// 라인 앞에 // 요거 쓰시면 됩니다.
// 이렇게 말이죠.ㅎㅎㅎ
=================================
라고 하셨네요,,
주석처리하라고,,
header("Content-Type: text/html; charset=$g4[charset]");
$gmnow = gmdate("D, d M Y H:i:s") . " GMT";
header("Expires: 0"); // rfc2616 - Section 14.21
header("Last-Modified: " . $gmnow);
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0

요걸 싹둑 지워버렸어요-0-;;;
// header("Content-Type: text/html; charset=$g4[charset]");
// $gmnow = gmdate("D, d M Y H:i:s") . " GMT";
// header("Expires: 0"); // rfc2616 - Section 14.21
// header("Last-Modified: " . $gmnow);
// header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
// header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
// header("Pragma: no-cache"); // HTTP/1.0

----

전부 요로케 만들면 되죠?ㅜㅜ  답변 감사합니다^^;;
© SIRSOFT
현재 페이지 제일 처음으로