본인인증 : 전체 모듈 php8 호환 코드 추가, 스위치문 개선

This commit is contained in:
projectSylas
2021-09-28 07:45:25 +00:00
parent 166c5e92bd
commit 21269e632b
17 changed files with 40 additions and 29 deletions

View File

@ -153,9 +153,9 @@ if( $cert_enc_use == "Y" )
$md5_ci = md5($ci.$ci);
$row = sql_fetch("select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$md5_ci}'"); // ci데이터로 찾음
if (!$row['mb_id']) { // ci로 등록된 계정이 없다면
if (empty($row['mb_id'])) { // ci로 등록된 계정이 없다면
$row = sql_fetch("select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}'"); // di데이터로 찾음
if (!$row['mb_id']) { // di로 등록된 계정도 없다면
if (empty($row['mb_id'])) { // di로 등록된 계정도 없다면
alert_close("인증하신 정보로 가입된 회원정보가 없습니다.");
exit;
}

View File

@ -9,10 +9,12 @@ setlocale(LC_CTYPE, 'ko_KR.euc-kr');
switch($_GET['pageType']){ // 페이지 타입 체크
case "register":
$resultPage = "/kcpcert_result.php";
break;
break;
case "find":
$resultPage = "/find_kcpcert_result.php";
break;
break;
default:
alert_close('잘못된 접근입니다.');
}
// kcp 휴대폰인증파일

View File

@ -153,7 +153,7 @@ if( $cert_enc_use == "Y" )
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}' ";
$row = sql_fetch($sql);
if ($row['mb_id']) {
if (!empty($row['mb_id'])) {
alert_close("입력하신 본인확인 정보로 가입된 내역이 존재합니다.\\n회원아이디 : ".$row['mb_id']);
}