header 질문 > 그누4 질문답변

그누4 질문답변

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

header 질문 정보

header 질문

본문

head.sub에
이렇게 되있던데 ...

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

보드스킨에 직접 head.sub include 시키면
warning : cannot modifiy header information -headers already sent by 이런식으로
메세지가 나오는군요
없어도 되는건지 ?
뭘하는 명령인지 ?
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로