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();