s

Warning 메세지 확인해 주세요!

· 2012-04-05 (목) 16:00:44 · 1083
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 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
12-04-06 조회 1,286
12-04-06 조회 1,535
12-04-06 조회 1,655
12-04-06 조회 1,164
12-04-06 조회 1,671
12-04-06 조회 2,452
12-04-06 조회 1,092
12-04-05 조회 1,816
12-04-05 조회 988
12-04-05 조회 1,708
12-04-05 조회 1,176
12-04-05 조회 1,670
12-04-05 조회 2,486
12-04-05 조회 1,079
12-04-05 조회 2,069
12-04-05 조회 1,634
12-04-05 조회 1,118
12-04-05 조회 1,084
12-04-05 조회 1,675
12-04-05 조회 1,782