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