Ȯ ũƮ ڵ ȸ ߰
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 금일 인증시도 회수 체크
|
||||
certify_count_check($member['mb_id'], 'hp');
|
||||
|
||||
// 서버상 bin 폴더 이전까지 경로
|
||||
$home_dir = G4_KCPCERT_PATH; // ct_cli 절대경로 ( bin 전까지 )
|
||||
|
||||
@ -1,5 +1,8 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
include_once('./_common.php');
|
||||
|
||||
// 금일 인증시도 회수 체크
|
||||
certify_count_check($member['mb_id'], 'hp');
|
||||
|
||||
// kcp 휴대폰인증파일
|
||||
include_once(G4_KCPCERT_PATH.'/kcpcert_config.php');
|
||||
@ -48,36 +51,5 @@ if(!$ordr_idxx)
|
||||
</form>
|
||||
|
||||
<script>
|
||||
// 인증창 호출 함수
|
||||
function auth_type_check(user_name)
|
||||
{
|
||||
var auth_form = document.form_auth;
|
||||
//auth_form.user_name.value = encodeURIComponent(user_name);
|
||||
|
||||
if( auth_form.ordr_idxx.value == "" )
|
||||
{
|
||||
alert( "주문번호는 필수 입니다." );
|
||||
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if( ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) == false ) // 스마트폰이 아닌경우
|
||||
{
|
||||
var return_gubun;
|
||||
var width = 410;
|
||||
var height = 500;
|
||||
|
||||
var leftpos = screen.width / 2 - ( width / 2 );
|
||||
var toppos = screen.height / 2 - ( height / 2 );
|
||||
|
||||
var winopts = "width=" + width + ", height=" + height + ", toolbar=no,status=no,statusbar=no,menubar=no,scrollbars=no,resizable=no";
|
||||
var position = ",left=" + leftpos + ", top=" + toppos;
|
||||
var AUTH_POP = window.open('','auth_popup', winopts + position);
|
||||
}
|
||||
|
||||
|
||||
auth_form.submit();
|
||||
}
|
||||
}
|
||||
document.form_auth.submit();
|
||||
</script>
|
||||
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
include_once('./kcpcert_config.php');
|
||||
include_once('./_common.php');
|
||||
include_once(G4_KCPCERT_PATH.'/kcpcert_config.php');
|
||||
|
||||
$site_cd = "";
|
||||
$ordr_idxx = "";
|
||||
@ -87,6 +88,9 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
|
||||
if( $cert_enc_use == "Y" )
|
||||
{
|
||||
// 인증내역기록
|
||||
@insert_cert_history($member['mb_id'], 'kcp', 'hp');
|
||||
|
||||
if( $res_cd == "0000" )
|
||||
{
|
||||
// dn_hash 검증
|
||||
@ -175,7 +179,7 @@ $(function() {
|
||||
var $opener = window.opener;
|
||||
|
||||
// 인증정보
|
||||
$opener.$("input[name=mb_name]").val("<?php echo $user_name; ?>");
|
||||
$opener.$("input[name=mb_name]").val("<?php echo $user_name; ?>").attr("readonly", true);
|
||||
$opener.$("input[name=mb_hp]").val("<?php echo $phone_no; ?>").attr("readonly", true);
|
||||
alert("본인의 휴대폰번호로 확인 되었습니다.");
|
||||
window.close();
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// 금일 인증시도 회수 체크
|
||||
certify_count_check($member['mb_id'], 'hp');
|
||||
|
||||
include_once('./hpcert.config.php');
|
||||
|
||||
/**************************************************************************
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// 금일 인증시도 회수 체크
|
||||
certify_count_check($member['mb_id'], 'ipin');
|
||||
|
||||
include_once('./ipin.config.php');
|
||||
|
||||
$option = "C";// Option
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user