주소창 아이디 노출 > 그누4 질문답변

그누4 질문답변

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

주소창 아이디 노출 정보

주소창 아이디 노출

본문

http://sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=275156

위에 <한게시판에서 내글만 볼수 있는 기능>을 사용하려고 합니다.


-----------------------------------------------------------------


<a href="<?=$g4[bbs_path]?>/board.php?bo_table=게시판이름&sfl=mb_id,1&stx=<?=$member[mb_id]?>">
내가쓴글</a>

그런데 위에 내용 처럼 링크를 시키면 주소창에 아이디(1197)가 보입니다.

../bbs/board.php?bo_table=N02&sfl=mb_id,1&stx=1197



bbs/board_head.php 에
if(!$is_admin && $bo_table=='해당게시판'){ $sfl='mb_id'; $stx=$member[mb_id];}

위에 처럼해도 안되고 ../bbs/board.php?bo_table=N02 하면 목록이 다 나와버리네요.


아이디가 보이지 않고 내 글만 볼 수 있는 방법은 없을까요?

1:1게시판이나 내글만 보여주는 리스트도 있던데 제 용도하고는 맞지 않아서 기본게시판을 수정해서 쓰고 있습니다.
고수님들 항상 감사드립니다...^^;

( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '282650' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )

1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

error file : /15sir/bbs/board.php