답변 3개
채택된 답변
+20 포인트
답변에 대한 댓글 2개
�
달콤이쨈
9년 전
�
달콤이쨈
9년 전
보니깐
//캐쉬의 내용을 가져옴. 완전한지는 검증되지 않음
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
이부분인데 삭제해도 되는 부분이려나요?
댓글을 작성하려면 로그인이 필요합니다.
9년 전
일단
@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
이렇게 골뱅이처리해보세요. 그럼 오류메세지는 안보일거에요.
오류나는 경우야 워낙 다양해서
소스를 모르니 뭐라 답변드리기 힘듭니다.
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
Warning: Cannot modify header information - headers already sent by (output started at
이오류인데 한번 경로 찾아가서 고쳐보겠습니다~