라

오류수정좀 도와주세요

· 2009-10-19 (월) 09:26:07 · 1749 · 5
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/rtieng/www/china/index.html:1) in /home/hosting_users/rtieng/www/china/common.php on line 8

-header('P3P: CP="ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC"');

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/rtieng/www/china/index.html:1) in /home/hosting_users/rtieng/www/china/lib/common.lib.php on line 109

-setcookie(md5($cookie_name), base64_encode($value), $g4[server_time] + $expire, '/', $g4[cookie_domain]);

이오류는 왜생길까요... 가르쳐주세요

댓글 5개

on line 에 표기된 라인의 코드를 찾아서 보다 하단으로 코드 위치를 옮겨보세요.
header 이전에는 어떤 코드나 텍스트도 올수 없습니다.
제가 라이브러리 폴더랑 다른 원본파일을 다시 올려봤거든요?..그랬더니. 이제는
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/rtieng/www/china/index.html:1) in /home/hosting_users/rtieng/www/china/common.php on line 6 이런게 뜨구요..
- header('P3P: CP="ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC"'); 이부분인데 헤더를 윗쪽에 위치시켜보았는데...계속 뜨네요..

첫줄부터--------
<?
/*******************************************************************************
** 공통 변수, 상수, 코드
*******************************************************************************/
// 보안설정이나 프레임이 달라도 쿠키가 통하도록 설정
header('P3P: CP="ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC"');
skin 파일에서 인크루드 할때 최상단에 인크루드 해야합니다.
자세히 설명 해 주세요..ㅜㅜ
최상단이란 ??? 문서 맨위를 말합니다.ㅎㅎ
아래처럼 인크루트 넣으시면 됩니다.

<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
?>
<html>
<body>
<body>
</html>
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
09-10-19 조회 1,471
09-10-19 조회 1,060
09-10-19 조회 1,018
09-10-19 조회 1,056
09-10-19 조회 1,151
09-10-19 조회 922
09-10-19 조회 1,160
09-10-19 조회 1,481
09-10-19 조회 1,989
09-10-19 조회 1,077
09-10-19 조회 1,722
09-10-19 조회 1,065
09-10-19 조회 1,677
09-10-19 조회 1,591
09-10-19 조회 1,167
09-10-19 조회 1,075
09-10-19 조회 1,750
09-10-19 조회 1,631
09-10-19 조회 1,592
09-10-18 조회 1,097