post 등에 mysql_real_escape_string 적용하는 코드 수정

This commit is contained in:
chicpro committed 2014-02-20 11:29:19 +09:00
1 parent 7bd383b7cf
commit bc1cfad1c2
20 files changed
+76 -76

No files matched your search

+3 -3
View File
@@ -3,10 +3,10 @@ include_once('./_common.php');
$g5['title'] = "로그인 검사";
$mb_id = escape_trim($_POST['mb_id']);
$mb_password = escape_trim($_POST['mb_password']);
$mb_id = trim($_POST['mb_id']);
$mb_password = trim($_POST['mb_password']);
if (!trim($mb_id) || !trim($mb_password))
if (!$mb_id || !$mb_password)
alert('회원아이디나 비밀번호가 공백이면 안됩니다.');
$mb = get_member($mb_id);