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 이런식으로
메세지가 나오는군요
없어도 되는건지 ?
뭘하는 명령인지 ?
이렇게 되있던데 ...
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 이런식으로
메세지가 나오는군요
없어도 되는건지 ?
뭘하는 명령인지 ?
댓글 전체
head.sub 파일 상단에 공백이 없는지 확인해보세요
보드스킨에 직접 head.sub include 시키면 <--- 게시판 스킨에서는 bbs/board.php에사 자동으로 include 되기때문에 또다시 include 시킬 필요가 없습니다