아래와 같은 파일을 만들어서 extend 폴더에 넣었습니다.
// 게시판관리자
if ($bo_table == '게시판아이디')
{
if ($member[mb_id] == '회원아이디1') $is_admin = 'board';
if ($member[mb_id] == '회원아이디2') $is_admin = 'board';
if ($member[mb_id] == '회원아이디3') $is_admin = 'board';
if ($is_admin == 'board') $board[bo_admin] = $member[mb_id];
}
그랬더니... 아래와 같은 에러가 발생하네요. 뭐가 문제인지 알려주세요..
그누보드 버전은 4.33.09입니다.
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 38
// 게시판관리자
if ($bo_table == '게시판아이디')
{
if ($member[mb_id] == '회원아이디1') $is_admin = 'board';
if ($member[mb_id] == '회원아이디2') $is_admin = 'board';
if ($member[mb_id] == '회원아이디3') $is_admin = 'board';
if ($is_admin == 'board') $board[bo_admin] = $member[mb_id];
}
그랬더니... 아래와 같은 에러가 발생하네요. 뭐가 문제인지 알려주세요..
그누보드 버전은 4.33.09입니다.
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /web/home/sonedu/html/extend/control.php:19) in /web/home/sonedu/html/head.sub.php on line 38
댓글 6개
게시판이름이 g4_write_test이고 회원 아이디가 test1, test2, test3일 경우(3명)
아래와 같이 하면 안되나요??
// 게시판관리자
if ($bo_table == 'g4_write_test')
{
if ($member[mb_id] == 'test1') $is_admin = 'board';
if ($member[mb_id] == 'test2') $is_admin = 'board';
if ($member[mb_id] == 'test3') $is_admin = 'board';
if ($is_admin == 'board') $board[bo_admin] = $member[mb_id];
}
이렇게 게시판명과 회원아이디만 넣으면 안되나요??
아담S님이 말씀하신 회원아이디1에 회원분 홈페이지 계정명을 넣어야 한다는건 무슨말씀이신지 모르겠어요... 조금만 더 알려주세요.
아래와 같이 하면 안되나요??
// 게시판관리자
if ($bo_table == 'g4_write_test')
{
if ($member[mb_id] == 'test1') $is_admin = 'board';
if ($member[mb_id] == 'test2') $is_admin = 'board';
if ($member[mb_id] == 'test3') $is_admin = 'board';
if ($is_admin == 'board') $board[bo_admin] = $member[mb_id];
}
이렇게 게시판명과 회원아이디만 넣으면 안되나요??
아담S님이 말씀하신 회원아이디1에 회원분 홈페이지 계정명을 넣어야 한다는건 무슨말씀이신지 모르겠어요... 조금만 더 알려주세요.
게시글 목록
| 번호 | 제목 |
|---|---|
| 284348 | |
| 284336 | |
| 284333 | |
| 284332 | |
| 284320 | |
| 284318 | |
| 284316 | |
| 284313 | |
| 284307 | |
| 284306 | |
| 284303 | |
| 284298 | |
| 284296 | |
| 284290 | |
| 284286 | |
| 284280 | |
| 284277 | |
| 284272 | |
| 284261 | |
| 284259 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기