미

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

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 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
12-02-02 조회 950
12-02-02 조회 1,064
12-02-02 조회 1,071
12-02-02 조회 1,726
12-02-02 조회 1,657
12-02-02 조회 1,730
12-02-02 조회 1,116
12-02-02 조회 1,680
12-02-02 조회 2,188
12-02-02 조회 2,351
12-02-02 조회 1,074
12-02-02 조회 1,061
12-02-02 조회 1,010
12-02-02 조회 1,250
12-02-02 조회 1,650
12-02-02 조회 2,267
12-02-02 조회 1,482
12-02-02 조회 1,105
12-02-02 조회 1,830
12-02-02 조회 1,197