Ȯ ũƮ ڵ ȸ ߰

This commit is contained in:
chicpro
2013-08-29 10:18:50 +09:00
parent b01e07e0b0
commit 3b7df7b452
19 changed files with 305 additions and 129 deletions

View File

@ -1,5 +1,9 @@
<?php
include_once('./_common.php');
// 금일 인증시도 회수 체크
certify_count_check($member['mb_id'], 'hp');
include_once('./hpcert.config.php');
/**************************************************************************

View File

@ -52,6 +52,9 @@ $cmd = "$exe $keypath $idcfMbrComCd $endPointUrl $WEBPUBKEY $WEBSIGNATURE $encIn
// 실행
exec($cmd, $out, $ret);
// 인증내역기록
@insert_cert_history($member['mb_id'], 'kcb', 'hp');
if($ret == 0) {
// 결과라인에서 값을 추출
foreach($out as $a => $b) {
@ -124,6 +127,7 @@ $(function() {
$opener.$("input[name=cert_type]").val("<?php echo $cert_type; ?>");
$opener.$("input[name=mb_name]").val("<?php echo $mb_name; ?>").attr("readonly", true);
$opener.$("input[name=mb_hp]").val("<?php echo $phone_no; ?>").attr("readonly", true);
alert("본인의 휴대폰번호로 확인 되었습니다.");
window.close();
});
</script>

View File

@ -1,5 +1,9 @@
<?php
include_once('./_common.php');
// 금일 인증시도 회수 체크
certify_count_check($member['mb_id'], 'ipin');
include_once('./ipin.config.php');
$option = "C";// Option

View File

@ -23,6 +23,9 @@ $cmd = "$exe $keypath $memid $EndPointURL $cpubkey $csig $encdata $logpath $opti
// 실행
exec($cmd, $out, $ret);
// 인증내역기록
@insert_cert_history($member['mb_id'], 'kcb', 'ipin');
if($ret != 0) {
if($ret <=200)
$resultCd=sprintf("B%03d", $ret);