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

댓글 전체

전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT