슈퍼관리자 추가할때요...(도와주세요) > 그누4 질문답변

그누4 질문답변

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

슈퍼관리자 추가할때요...(도와주세요) 정보

슈퍼관리자 추가할때요...(도와주세요)

본문

관리자님이 알려주신대로 (맞나?)
 
sadm.php 란 파일을 extend 폴더안에 넣고 sadm.php 파일 안에 내용은
 
<?
// 최고관리자
if ($member[mb_id] == 'sungdam') $is_admin = 'super';
 
// 그룹관리자
if ($gr_id == 'heimang21')
{
    if ($member[mb_id] == 'sungdam') $is_admin = 'group';
}
 
// 게시판관리자
if ($bo_table == 'heimang21')
{
    if ($member[mb_id] == 'sungdam') $is_admin = 'board';
}
?>
 
이렇게 했거든요...
 
그랬더니
 

Warning: Cannot modify header information - headers already sent by (output started at /home/heimang21/public_html/home/extend/sadm.php:17) in /home/heimang21/public_html/home/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home/heimang21/public_html/home/extend/sadm.php:17) in /home/heimang21/public_html/home/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/heimang21/public_html/home/extend/sadm.php:17) in /home/heimang21/public_html/home/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/heimang21/public_html/home/extend/sadm.php:17) in /home/heimang21/public_html/home/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/heimang21/public_html/home/extend/sadm.php:17) in /home/heimang21/public_html/home/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/heimang21/public_html/home/extend/sadm.php:17) in /home/heimang21/public_html/home/head.sub.php on line 38
 
에러가 나오고
에러나는 줄을 찾아가보니
 
32 :   header("Content-Type: text/html; charset=$g4[charset]");
33 :   $gmnow = gmdate("D, d M Y H:i:s") . " GMT";
34 :   header("Expires: 0"); // rfc2616 - Section 14.21
35 :   header("Last-Modified: " . $gmnow);
36 :   header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
37 :   header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
38 :   header("Pragma: no-cache"); // HTTP/1.0
 
이줄이더라고요....
 
왜그러는 건가요??  뭔가르 제가 잘못한건가요??
 
빠른답변 부탁드립니다.~

댓글 전체

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

회원로그인

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