(급해요!!)새로만드는 홈피주소 index화면 head윗부분에 이게 자꾸 떠요 정보
(급해요!!)새로만드는 홈피주소 index화면 head윗부분에 이게 자꾸 떠요본문
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kunstkaffe/www/_common.php:7) in /home/hosting_users/kunstkaffe/www/data/head.sub.php on line 38
head.sub 의 32-38은 이건데요.
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
$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
서버메이크업에는
// 이 파일은 새로운 파일 생성시 반드시 포함되어야 함
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$begin_time = get_microtime();
이렇게 써있네요..
php는 잘몰라서 아주 죽겠어요..
로그인 하나 만드려다 완전 돌겠어요 ㅡ.ㅡ
도와주세요~~
댓글 전체
급하다고 올리신분중에 급한분 별로 못봤습니다.
수정한 파일중 lib디렉토레에 있는 파일을 수정했으면 그파일중 <??> 외에 밖에 공백이 들어가면 안됩니다.
_common.php 의 내용도 올려주세요
Cannot modify header information - headers already sent by
위 에러는 쿠키가 굽기전에 출력문이 들어있으면 나는 에러입니다.
별도움이 안되신다면 Cannot modify header information로 검색해보세요 많은 문답들이 있습니다.
수정한 파일중 lib디렉토레에 있는 파일을 수정했으면 그파일중 <??> 외에 밖에 공백이 들어가면 안됩니다.
_common.php 의 내용도 올려주세요
Cannot modify header information - headers already sent by
위 에러는 쿠키가 굽기전에 출력문이 들어있으면 나는 에러입니다.
별도움이 안되신다면 Cannot modify header information로 검색해보세요 많은 문답들이 있습니다.
공백이 문제였군요.
감사합니다
감사합니다