captcha 질문 드려요
본문
<?php
define('_INDEX_', true);
include_once('./_common.php');
include_once(G5_CAPTCHA_PATH.'/captcha.lib.php');
include_once(G5_EDITOR_LIB);
?>
<style type="text/css">
.ttd1 { height:25px; font-family:돋음,Dotum; font-size:11px; color:#545454; }
.ttd2 { height:25px; font-family:돋음,Dotum; font-size:11px; color:#353535; padding-left:17px; font-weight:bold; letter-spacing:-1px; }
.ttd3 { font-family:돋음,Dotum; font-size:11px; color:#545454; padding:4px 0 4px 0; }
.ed4 { height:20px; padding:2px; font-family:돋음,Dotum; font-size:11px; color:#353535; border:none; background-color:#eaeaea; }
.ed5 { height:120px; padding:2px; font-family:돋음,Dotum; font-size:11px; color:#353535; border:none; background-color:#eaeaea; }
</style>
<!-- bo_table은 연결할 게시판 테이블명 쓰기 -->
<table width="400" border="0" cellspacing="0" cellpadding="0">
<form name=frm method=post action="<?php echo G5_BBS_URL; ?>/write_update.php">
<!-- action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" -->
<?php
$ca_name = "";
$captcha_html = '';
$captcha_js = '';
if ($is_guest) {
$captcha_html = captcha_html();
$captcha_js = chk_captcha_js();
}
?>
<input type=hidden name=w value="">
<input type=hidden name=ca_name value="<?php echo $ca_name; ?>">
<input type=hidden name=bo_table value="listb">
<input type=hidden name=wr_id value="">
<input type=hidden name=sca value="">
<input type=hidden name=sfl value="">
<input type=hidden name=stx value="">
<input type=hidden name=spt value="">
<input type=hidden name=sst value="">
<input type=hidden name=sod value="">
<input type=hidden name=s value="s">
<input type=hidden name=wr_key value="<?php echo $norobot_key;?>">
<input type=hidden name=page value="<?php echo $page;?>">
<tr>
<td colspan="2"><img src="<?php echo G5_URL;?>/img/title.jpg"></td>
</tr>
<tr>
<td width="75" class="ttd2">이름</td>
<td width="275" class="ttd1"><input class="ed4" maxlength="20" size="12" id="wr_name" name="wr_name" itemname="이름" required></td>
</tr>
<tr>
<td class="ttd2">비밀번호</td>
<td class="ttd1"><input type="password" class="ed4" maxlength="20" size="12" id="wr_password" name="wr_password" itemname="비밀번호"></td>
</tr>
<tr>
<td class="ttd2">제목</td>
<td class="ttd1"><input class='ed4' maxlength="100" size="25" id="wr_subject" name="wr_subject" itemname="이메일"></td>
</tr>
<tr>
<td class="ttd2">내용</td>
<td class="ttd3"><textarea id="wr_content" name="wr_content" class="ed5" style="width:95%;word-break:break-all;" rows="10" itemname="내용" required></textarea></td>
</tr>
<tr>
<td colspan="2">
<div style="float:left; padding:20px 0 0 0;">자동등록방지 : <?php echo $captcha_html ?>
왼쪽 글자를 입력</div></td>
</tr>
<tr>
<td colspan="2" align="center"><input type=image src="<?php echo G5_URL;?>/img/send.jpg" alt="보내기" onclick="javascript:al()" ></td>
</tr>
</form>
</table>
소스를 저렇게 되어 있는걸 사용 중입니다.
근데 회원으로 등록이 되어 있는 사람은 이미 켑챠를 사용하지 않아서 아무런 문제가 없는데요
비회원들이 글을 쓰고자 하면 켑챠가 제대로 나오지 않습니다.
켑챠를 어떻게 손을 보면 제대로 나올수 있나요
형태는 보이는데 안에 그림이 엑박으로 뜹니다..........
!-->
답변을 작성하시기 전에 로그인 해주세요.