utf-8 사용했더니 에러가 나요

· 2012-02-02 (목) 11:21:08 · 1815 · 4
utf-8은 처음 써보는데요...
euc-kr 쓸때 사용하던 다음 부분을 그대로 썼더니

<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>

홈페이지에서 다음과 같은 메시지가 뜨네요.
뭐가 잘못되었나요? 알려주시면 감사하겠습니다.

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/citymark/www/index.htm:1) in /home/hosting_users/citymark/www/common.php on line 8

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

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

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

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/citymark/www/index.htm:1) in /home/hosting_users/citymark/www/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/citymark/www/index.htm:1) in /home/hosting_users/citymark/www/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/citymark/www/index.htm:1) in /home/hosting_users/citymark/www/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/citymark/www/index.htm:1) in /home/hosting_users/citymark/www/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/citymark/www/index.htm:1) in /home/hosting_users/citymark/www/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/citymark/www/index.htm:1) in /home/hosting_users/citymark/www/head.sub.php on line 38
|

댓글 4개

<? 위쪽에 분줄이 있거나
저장된 파일중에 UTF8로 파일내용 형태가 저장안되신게 있으실거예요!
그걸 확인해서 다 UTF8형태로 저장하시면 없어지실겁니당...
답변주셔서 너무 감사하구요... 분줄이 뭔가요?
그리고 utf-8 용 그누보드를 설치했는데도 기본세팅화일들이 utf-8로 안되어있는 경우도 있나요?
<? 이거 시작전에 내용이나 공백이 없어야합니다
닥본사님, 답변 감사하구요...
그런데 <? 전에 공백이나 빈줄이 없거든요...
다른 원인이 뭔지 가르쳐주시면 감사하겠습니다.
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
12-02-02 조회 940
12-02-02 조회 1,052
12-02-02 조회 1,060
12-02-02 조회 1,715
12-02-02 조회 1,642
12-02-02 조회 1,713
12-02-02 조회 1,104
12-02-02 조회 1,669
12-02-02 조회 2,176
12-02-02 조회 2,340
12-02-02 조회 1,058
12-02-02 조회 1,046
12-02-02 조회 998
12-02-02 조회 1,238
12-02-02 조회 1,638
12-02-02 조회 2,256
12-02-02 조회 1,465
12-02-02 조회 1,095
12-02-02 조회 1,816
12-02-02 조회 1,185