s

Warning 메세지 확인해 주세요!

· 13년 전 · 1005
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
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
13년 전 조회 902
13년 전 조회 1,611
13년 전 조회 1,083
13년 전 조회 1,578
13년 전 조회 2,408
13년 전 조회 999
13년 전 조회 1,986
13년 전 조회 1,561
13년 전 조회 1,031
13년 전 조회 1,006
13년 전 조회 1,591
13년 전 조회 1,701
13년 전 조회 1,901
13년 전 조회 1,038
13년 전 조회 1,944
13년 전 조회 1,595
13년 전 조회 1,566
13년 전 조회 1,772
13년 전 조회 1,051
13년 전 조회 982