From 7d4d645935f44e91658be1f491e76a31be4337d7 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 31 Jul 2015 16:55:48 +0900 Subject: [PATCH] =?UTF-8?q?kcp=20=EB=B3=B8=EC=9D=B8=EC=9D=B8=EC=A6=9D=20up?= =?UTF-8?q?=5Fhash=20=EB=88=84=EB=9D=BD=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/kcpcert/kcpcert_form.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/plugin/kcpcert/kcpcert_form.php b/plugin/kcpcert/kcpcert_form.php index 64702cc3e..8a62e0c39 100644 --- a/plugin/kcpcert/kcpcert_form.php +++ b/plugin/kcpcert/kcpcert_form.php @@ -4,12 +4,41 @@ include_once('./_common.php'); // 금일 인증시도 회수 체크 certify_count_check($member['mb_id'], 'hp'); +setlocale(LC_CTYPE, 'ko_KR.euc-kr'); + // kcp 휴대폰인증파일 include_once(G5_KCPCERT_PATH.'/kcpcert_config.php'); $ordr_idxx = get_session('ss_uniqid'); if(!$ordr_idxx) $ordr_idxx = get_uniqid(); + +$ct_cert = new C_CT_CLI; +$ct_cert->mf_clear(); + +$year = "00"; +$month = "00"; +$day = "00"; +$user_name = ""; +$sex_code = ""; +$local_code = ""; + +// !!up_hash 데이터 생성시 주의 사항 +// year , month , day 가 비어 있는 경우 "00" , "00" , "00" 으로 설정이 됩니다 +// 그외의 값은 없을 경우 ""(null) 로 세팅하시면 됩니다. +// up_hash 데이터 생성시 site_cd 와 ordr_idxx 는 필수 값입니다. +$hash_data = $site_cd . + $ordr_idxx . + $user_name . + $year . + $month . + $day . + $sex_code . + $local_code; + +$up_hash = $ct_cert->make_hash_data( $home_dir, $hash_data ); + +$ct_cert->mf_clear(); ?>
@@ -41,6 +70,8 @@ if(!$ordr_idxx) + +