최신글 오류 메세지...원인이 뭘까요 정보
최신글 오류 메세지...원인이 뭘까요본문
최신글 스킨 작업중입니다.
최신글 상단에
Warning: Cannot modify header information - headers already sent by (output started at /www/hoho/public_html/gnuboard4/test.html:16) in /www/hoho/public_html/gnuboard4/common.php on line 8
이렇게 나오는데요..
어떻게 하면 될까요?
테스트 페이지 소스는
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<body>
<? echo latest("basic", "notice", 5, 20); ?>
</body>
</html>
최신글 상단에
Warning: Cannot modify header information - headers already sent by (output started at /www/hoho/public_html/gnuboard4/test.html:16) in /www/hoho/public_html/gnuboard4/common.php on line 8
이렇게 나오는데요..
어떻게 하면 될까요?
테스트 페이지 소스는
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<body>
<? echo latest("basic", "notice", 5, 20); ?>
</body>
</html>
댓글 전체
중간에 있는 include_once("./_common.php"); 코드를
문서 제일 상단에 놓으세요.
문서 제일 상단에 놓으세요.
답변 감사드립니다~
해더 설정 이전에 다른 문자가 출력되어서 그렇습니다.
답변 감사드립니다~