From 72c66022b92b7aef1163c88a63eb7212869e45af Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 9 Apr 2013 12:00:04 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9C=B4=EB=8C=80=ED=8F=B0=EC=9D=B8=EC=A6=9D?= =?UTF-8?q?=20=EC=B2=98=EB=A6=AC=20=ED=8C=8C=EC=9D=BC=20=EC=9D=B8=EC=BD=94?= =?UTF-8?q?=EB=94=A9=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/kcp/kcpcert_request.php | 42 +++++++++++++++++++++++-------------- bbs/kcp/kcpcert_result.php | 3 ++- 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/bbs/kcp/kcpcert_request.php b/bbs/kcp/kcpcert_request.php index 00fe64744..b9057c28f 100644 --- a/bbs/kcp/kcpcert_request.php +++ b/bbs/kcp/kcpcert_request.php @@ -1,8 +1,16 @@ mf_clear(); -// utf-8 Ѿ post euc-kr -$_POST = array_map("iconv_euckr", $_POST); - -// request Ѿ ó +// request 로 넘어온 값 처리 $key = array_keys($_POST); $sbParam =""; @@ -81,16 +86,16 @@ for($i=0; $i"; } if ( $req_tx == "cert" ) { - // !!up_hash - // year , month , day ִ "00" , "00" , "00" ˴ϴ - // ׿ ""(null) Ͻø ˴ϴ. - // up_hash site_cd ordr_idxx ʼ Դϴ. + // !!up_hash 데이터 생성시 주의 사항 + // year , month , day 가 비어 있는 경우 "00" , "00" , "00" 으로 설정이 됩니다 + // 그외의 값은 없을 경우 ""(null) 로 세팅하시면 됩니다. + // up_hash 데이터 생성시 site_cd 와 ordr_idxx 는 필수 값입니다. $hash_data = $site_cd . $ordr_idxx . $user_name . @@ -102,7 +107,7 @@ if ( $req_tx == "cert" ) $up_hash = $ct_cert->make_hash_data( $home_dir, $hash_data ); - // â ѱ form ʵ ( up_hash ) + // 인증창으로 넘기는 form 데이터 생성 필드 ( up_hash ) $sbParam .= ""; } @@ -119,10 +124,10 @@ $ct_cert->mf_clear(); { var frm = document.form_auth; - // û ȣ Լ + // 인증 요청 시 호출 함수 if ( frm.req_tx.value == "cert" ) { - opener.document.form_auth.veri_up_hash.value = frm.up_hash.value; // up_hash ʵ + opener.document.form_auth.veri_up_hash.value = frm.up_hash.value; // up_hash 데이터 검증을 위한 필드 frm.action=""; frm.submit(); @@ -135,4 +140,9 @@ $ct_cert->mf_clear(); - \ No newline at end of file + + + \ No newline at end of file diff --git a/bbs/kcp/kcpcert_result.php b/bbs/kcp/kcpcert_result.php index c9df1327f..f32f6598b 100644 --- a/bbs/kcp/kcpcert_result.php +++ b/bbs/kcp/kcpcert_result.php @@ -159,7 +159,8 @@ $ct_cert->mf_clear(); $(function() { var $opener = window.opener; - // 인증번호 + // 인증정보 + $opener.$("input[name=mb_hp]").val(""); $opener.$("input[name=kcpcert_no]").val(""); $opener.$("input[name=kcpcert_time]").val(""); window.close();