captcha 질문 드려요

captcha 질문 드려요

QA

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>

 

소스를 저렇게 되어 있는걸 사용 중입니다. 

근데 회원으로 등록이 되어 있는 사람은 이미 켑챠를 사용하지 않아서 아무런 문제가 없는데요

비회원들이 글을 쓰고자 하면 켑챠가 제대로 나오지 않습니다.

켑챠를 어떻게 손을 보면 제대로 나올수 있나요 

형태는 보이는데 안에 그림이 엑박으로 뜹니다..........

이 질문에 댓글 쓰기 :

답변 1

자바스크립트에 문제가 있어 그러는것 같은데

에러나는 url을 알려 주시면 더 답하기가 쉽겠습니다.

이것만 봐서는 알 수 없네요. 

include_once ('./fast.php');
이렇게 index.php에 인클루드 했구요
에러가 입력할때 나는게 아니라 그냥 엑박으로 떠요
사진 첨부 하겠습니다
헐퀴 답변이 달려 있으면 수정이 안되네영....ㄷㄷ
일단 간단하게 설명 드리면
이름 [입력란]
비밀번호 [입력란]
제목 [입력란]
내용[입력란]
자동등록방지 나오는곳(이곳에서 모양은 다 나옵니다 스피커 모양도 리프레시 모양도 입력란도 다 뜨는데 자동방지 숫자가 엑박으로 뜹니다.)
다른 작업은 한게 없습니다 위에 소스 들어있는 파일 루트에 넣었고 필요 이미지 파일 img 폴더에 넣었고 파일을 index.php에 include 로 쓰고 있고 이게 전부 다 입니다.
입력 저장까지 되는데 회원이 아닐때만 이 자동등록방지가 나오는데 엑박으로 나오고 있습니다.

답변을 작성하시기 전에 로그인 해주세요.
전체 60,230
QA 내용 검색

회원로그인

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