답변 3개
사용하시는 tail파일의 상단에
<?php if(strpos($_SERVER[SCRIPT_NAME],"write.php")!==false) return; ?>
이렇게 코드를 넣어놓으시면 안뜰껍니다.
하지만 오류를 잡는게 좋으실텐데요.
답변에 대한 댓글 2개
//캐쉬의 내용을 가져옴. 완전한지는 검증되지 않음
header("Content-Type: text/html; charset={$g4['charset']}");
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
이부분인데 삭제해도 되는 부분이려나요?
댓글을 작성하려면 로그인이 필요합니다.
일단
@header("Content-Type: text/html; charset={$g4['charset']}");
@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개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
Warning: Cannot modify header information - headers already sent by (output started at
이오류인데 한번 경로 찾아가서 고쳐보겠습니다~