post 등에 mysql_real_escape_string 적용하는 코드 수정
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
include_once('./_common.php');
|
||||
include_once(G5_LIB_PATH.'/register.lib.php');
|
||||
|
||||
$mb_hp = escape_trim($_POST['reg_mb_hp']);
|
||||
$mb_id = escape_trim($_POST['reg_mb_id']);
|
||||
$mb_hp = trim($_POST['reg_mb_hp']);
|
||||
$mb_id = trim($_POST['reg_mb_id']);
|
||||
|
||||
if ($msg = valid_mb_hp($mb_hp)) die($msg);
|
||||
if ($msg = exist_mb_hp($mb_hp, $mb_id)) die($msg);
|
||||
|
||||
Reference in New Issue
Block a user