다음 오류가 왜 나는 것일까요? 정보
다음 오류가 왜 나는 것일까요?본문
이 곳에서 아무리 찾아봐도 적당한 답을 찾을 수 없네요..
잘 아시는 분들의 도움을 구합니다...
홈페이지 첫 접속을 하면 다음 에러구문이 뜹니다.
첫 접속 후에는 없어지는데...쿠키 삭제를 하면 또 뜹니다.
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/duckyoon/www/index.htm:4) in /home/hosting_users/duckyoon/www/board/lib/common.lib.php on line 110
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/duckyoon/www/index.htm:4) in /home/hosting_users/duckyoon/www/board/lib/common.lib.php on line 110
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/duckyoon/www/index.htm:4) in /home/hosting_users/duckyoon/www/board/lib/common.lib.php on line 110
댓글 전체
// 쿠키변수 생성
function set_cookie($cookie_name, $value, $expire)
{
global $g4;
setcookie(md5($cookie_name), base64_encode($value), $g4[server_time] + $expire, '/', $g4[cookie_domain]);
} <== 여기가 110 번째 줄입니다.
function set_cookie($cookie_name, $value, $expire)
{
global $g4;
setcookie(md5($cookie_name), base64_encode($value), $g4[server_time] + $expire, '/', $g4[cookie_domain]);
} <== 여기가 110 번째 줄입니다.
<? <== index.htm 의 4번째 줄입니다.
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
자주 올라오는 질문입니다.^^
첫줄 <? 앞에 빈줄이나 공백이 있다면 제거하고 테스트해보세요..
첫줄 <? 앞에 빈줄이나 공백이 있다면 제거하고 테스트해보세요..
플록님 고맙습니다...
그게 잘못되었었군요..^^
그게 잘못되었었군요..^^