s

Warning 메세지 확인해 주세요!

· 2012-04-05 (목) 16:00:44 · 1077
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 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
12-04-06 조회 1,281
12-04-06 조회 1,529
12-04-06 조회 1,646
12-04-06 조회 1,154
12-04-06 조회 1,665
12-04-06 조회 2,445
12-04-06 조회 1,085
12-04-05 조회 1,808
12-04-05 조회 982
12-04-05 조회 1,698
12-04-05 조회 1,170
12-04-05 조회 1,661
12-04-05 조회 2,474
12-04-05 조회 1,070
12-04-05 조회 2,060
12-04-05 조회 1,626
12-04-05 조회 1,111
12-04-05 조회 1,078
12-04-05 조회 1,667
12-04-05 조회 1,774