Warning 메세지 확인해 주세요! > 그누4 질문답변

그누4 질문답변

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

Warning 메세지 확인해 주세요! 정보

Warning 메세지 확인해 주세요!

본문

common.lib.php파일 소스에 header가 포함된 2군데가 모두 // 주석처리 되어 있는데 메세지가 뜹니다.

// 경고메세지를 경고창으로
function alert($msg='', $url='')
{
global $g4;

    if (!$msg) $msg = '올바른 방법으로 이용해 주십시오.';

//header("Content-Type: text/html; charset=$g4[charset]");  <===============================
echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=$g4[charset]\">";
echo "<script type='text/javascript'>alert('$msg');";
    if (!$url)
        echo "history.go(-1);";
    echo "</script>";
    if ($url)
        // 4.06.00 : 불여우의 경우 아래의 코드를 제대로 인식하지 못함
        //echo "<meta http-equiv='refresh' content='0;url=$url'>";
        goto_url($url);
    exit;
}

Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d408945664/htdocs/index.php:3) in /homepages/27/d408945664/htdocs/gnuboard4/lib/common.lib.php on line 98
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로