휴대폰인증 체크 코드 제거

This commit is contained in:
chicpro
2013-02-26 15:04:59 +09:00
parent fd9f147b92
commit 4948fe2a94

View File

@ -2,15 +2,4 @@
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 자신만의 코드를 넣어주세요.
// 본인인증체크
$cert_no = trim($_POST['cert_no']);
if(!$cert_no)
alert('휴대폰인증이 되지 않았습니다. 휴대폰인증을 해주세요.', true, true);
// 본인인증 hash 체크
$reg_hp = preg_replace("/[^0-9]/", "", $mb_hp);
$reg_hash = md5($reg_hp.$mb_name.$cert_no);
if(get_session('ss_kcpcert_hash') != $reg_hash)
alert('휴대폰인증 정보가 올바르지 않습니다. 정상적인 방법으로 이용해 주세요.', true, true);
?>