휴대폰인증 체크를 위한 skin 파일 추가 및 파일명 변경
This commit is contained in:
@ -51,8 +51,8 @@ $mb_8 = isset($_POST['mb_8']) ? escape_trim($_POST['mb_8'])
|
|||||||
$mb_9 = isset($_POST['mb_9']) ? escape_trim($_POST['mb_9']) : "";
|
$mb_9 = isset($_POST['mb_9']) ? escape_trim($_POST['mb_9']) : "";
|
||||||
$mb_10 = isset($_POST['mb_10']) ? escape_trim($_POST['mb_10']) : "";
|
$mb_10 = isset($_POST['mb_10']) ? escape_trim($_POST['mb_10']) : "";
|
||||||
|
|
||||||
// 휴대폰인증체크
|
// 사용자 코드 실행
|
||||||
@include_once($member_skin_path.'/register_certify.skin.php');
|
@include_once($member_skin_path.'/register_form_update.head.skin.php');
|
||||||
|
|
||||||
if ($w == '' || $w == 'u') {
|
if ($w == '' || $w == 'u') {
|
||||||
|
|
||||||
@ -311,7 +311,7 @@ if ($w == '') {
|
|||||||
|
|
||||||
|
|
||||||
// 사용자 코드 실행
|
// 사용자 코드 실행
|
||||||
@include_once ($member_skin_path.'/register_update.skin.php');
|
@include_once ($member_skin_path.'/register_form_update.tail.skin.php');
|
||||||
|
|
||||||
|
|
||||||
if ($msg)
|
if ($msg)
|
||||||
|
|||||||
@ -1,16 +0,0 @@
|
|||||||
<?
|
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|
||||||
|
|
||||||
if($w == '') {
|
|
||||||
// 본인인증체크
|
|
||||||
$kcpcert_no = trim($_POST['kcpcert_no']);
|
|
||||||
if(!$kcpcert_no)
|
|
||||||
alert('휴대폰인증이 되지 않았습니다. 휴대폰인증을 해주세요.', "", true, true);
|
|
||||||
|
|
||||||
// 본인인증 hash 체크
|
|
||||||
$reg_hp = preg_replace("/[^0-9]/", "", $mb_hp);
|
|
||||||
$reg_hash = md5($reg_hp.$mb_name.$kcpcert_no);
|
|
||||||
if(get_session('ss_kcpcert_hash') != $reg_hash)
|
|
||||||
alert('휴대폰인증 정보가 올바르지 않습니다. 정상적인 방법으로 이용해 주세요.', "", true, true);
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
<?
|
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|
||||||
|
|
||||||
// 자신만의 코드를 넣어주세요.
|
|
||||||
?>
|
|
||||||
Reference in New Issue
Block a user