질문드립니다.
질문답변 게시판에 질문올렸었는데 확실한답변이 없어서 여기에 올려요..
Warning: Cannot modify header information - headers already sent by (output started at /home/zrto/public_html/domain/index.php:58) in/home/zrto/public_html/domain/index.php on line 60
이 에러는 내용이 헤더보다 먼저나왔다는것 같은데 어떻게해결하나요?
되도록이면, 소스수정없이 서버에서 수정할수있게 답변주시면 감사하겠습니다.. php.ini 에서 설정하라던지 그런거 주시면 감사..~♡
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 8개
domain/index.php 58번라인
echo('<img src=\'http://zr.to/plugin/refer/click.php?mb_id='.$_SESSION["a_vlab"].'&id=1\' width="0" height="0">');
domain/index.php 60번라인
setcookie("refer", $_SERVER[HTTP_REFERER], time()+(3600*24), '/', $cfg_domain);
로 해보세요
이걸 61번째 라인으로 옮기면 됩니다. ㄳ
아주 간단한 문제일수 있습니다.
예를들어
인덱스에서.
공백
<?
head 인클루드
?>
또는
<?
php 소스
?>
공백
<?
head 인클루드
?>
자세한 답변 원하신다면 해당 파일이나 소스가 필요한듯 보이네요.
index.php
tail.php 를 사용하셔야되는데
index.php 만 사용해서 저런거 아닌가요?