index header 에러 좀 봐 주세요.. 정보
index header 에러 좀 봐 주세요..본문
안녕 하세요?
euc-kr을 utf-8로 컨버터 했습니다.
그런데요 이런 에러 뜹니다. 수정하는 방법 좀 부탁 드립니다.
Warning: Cannot modify header information - headers already sent by (output started at /home/sungwoo/www/index.php:1) in /home/sungwoo/www/common.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home/sungwoo/www/index.php:1) in /home/sungwoo/www/index.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at /home/sungwoo/www/index.php:1) in /home/sungwoo/www/index.php on line 6
euc-kr을 utf-8로 컨버터 했습니다.
그런데요 이런 에러 뜹니다. 수정하는 방법 좀 부탁 드립니다.
Warning: Cannot modify header information - headers already sent by (output started at /home/sungwoo/www/index.php:1) in /home/sungwoo/www/common.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home/sungwoo/www/index.php:1) in /home/sungwoo/www/index.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at /home/sungwoo/www/index.php:1) in /home/sungwoo/www/index.php on line 6
댓글 전체
index 파일 입니다 고수님들 도와 주세요..
<?
include_once("./_common.php");
$LastModified = gmdate("D d M Y H:i:s", filemtime($HTTP_SERVER_VARS[SCRIPT_FILENAME]));
header("Last-Modified: $LastModified GMT");
header("ETag: \"$LastModified\"");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<head>
<title><?=$config[cf_title]?></title>
<? include "./bless_skin/$config[cf_builder]/bible.txt"; ?>
</head>
<frameset rows="100%,0" framespacing="0" frameborder="NO" border="0">
<frame src="./main.php" name="mainFrame">
<frame src="./bless_skin/<?=$config[cf_builder]?>/bottom.php" name="bottomFrame" scrolling="NO" noresize>
</frameset>
<noframes>
<body>
</body>
</noframes>
</html>
<?
include_once("./_common.php");
$LastModified = gmdate("D d M Y H:i:s", filemtime($HTTP_SERVER_VARS[SCRIPT_FILENAME]));
header("Last-Modified: $LastModified GMT");
header("ETag: \"$LastModified\"");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<head>
<title><?=$config[cf_title]?></title>
<? include "./bless_skin/$config[cf_builder]/bible.txt"; ?>
</head>
<frameset rows="100%,0" framespacing="0" frameborder="NO" border="0">
<frame src="./main.php" name="mainFrame">
<frame src="./bless_skin/<?=$config[cf_builder]?>/bottom.php" name="bottomFrame" scrolling="NO" noresize>
</frameset>
<noframes>
<body>
</body>
</noframes>
</html>