회원가입시 비밀번호 일치 체크 코드 추가

This commit is contained in:
chicpro
2013-01-17 14:31:21 +09:00
parent 7d7b02e027
commit 22db5c1820

View File

@ -22,6 +22,7 @@ if (!chk_captcha()) {
$mb_id = escape_trim($_POST['mb_id']);
$mb_password = escape_trim($_POST['mb_password']);
$mb_password_re = escape_trim($_POST['mb_password_re']);
$mb_name = escape_trim($_POST['mb_name']);
$mb_nick = escape_trim($_POST['mb_nick']);
$mb_email = escape_trim($_POST['mb_email']);
@ -56,6 +57,8 @@ if ($w == '' || $w == 'u') {
if ($w == '' && !$mb_password)
alert('패스워드가 넘어오지 않았습니다.');
if($w == '' && $mb_password != $mb_password_re)
alert('패스워드가 일치하지 않습니다.');
if ($msg = empty_mb_name($mb_id)) alert($msg);
if ($msg = empty_mb_nick($mb_nick)) alert($msg);