그누보드 레이아웃 변경4 오류
head.sub.php에서 아래와 같이 오류가 나네요. 모두 header부분에서만요;;
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/lsfs/www/gnuboard4/head.php:1) in /home/hosting_users/lsfs/www/gnuboard4/head.sub.php on line 32
그 부분의 소스는 아래와 같습니다.
무엇이 문제일까요?
// 자바스크립트에서 go(-1) 함수를 쓰면 폼값이 사라질때 해당 폼의 상단에 사용하면
// 캐쉬의 내용을 가져옴. 완전한지는 검증되지 않음
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
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/lsfs/www/gnuboard4/head.php:1) in /home/hosting_users/lsfs/www/gnuboard4/head.sub.php on line 32
그 부분의 소스는 아래와 같습니다.
무엇이 문제일까요?
// 자바스크립트에서 go(-1) 함수를 쓰면 폼값이 사라질때 해당 폼의 상단에 사용하면
// 캐쉬의 내용을 가져옴. 완전한지는 검증되지 않음
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
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
9년 전
오래된 답변입니다 재질문은 상단 Q & A 통합되었으므로 다시 질문을 하시기 바랍니다~
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
채택
답변대기
답변대기
답변대기
답변대기
채택
채택
답변대기
답변대기
답변대기
채택