그누보드5의 리스트 스킨에서 코멘트를 작성하는 방법이 있을까요? 채택완료
JIKKK
5년 전
조회 4,075
</p>
<p><form name="modify_comment" id="frm_modify_comment" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
<input type="hidden" name="w" value="cu">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="sca" value="<?php echo $sca ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="spt" value="<?php echo $spt ?>">
<input type="hidden" name="page" value="<?php echo $page ?>"></p>
<p> <input name="comment_id" value="">
<input type="hidden" name="wr_id" value="">
<textarea name="wr_content"></textarea>
<button type="submit">댓글 등록</button>
</form></p>
<p>
지금 이렇게 코드를 작성하고 있는데,
자꾸 올바른 방법으로 이용해 달라는 말이 뜨네요,,,ㅠㅠㅠㅠ
댓글을 작성하려면 로그인이 필요합니다.
답변 3개
채택된 답변
+20 포인트
5년 전
글 작성 및 댓글 작성시에는 토큰 생성이 이뤄집니다. 토큰 생성에 관한 내용은 common.js에 있으니 해당 부분에서 토큰 생성을 참조하여 토큰 생성 로직을 넣어주셔야 됩니다.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
J
JIKKK
5년 전
감사합니다!
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인