안전하지 않는 변수에 필터링 추가
This commit is contained in:
@ -21,7 +21,7 @@ for ($kk=0;$row = sql_fetch_array($result);$kk++)
|
||||
$bk_no = $row['bk_no'];
|
||||
for ($i=0; $i<count($post_chk_bg_no); $i++)
|
||||
{
|
||||
$bg_no = $post_chk_bg_no[$i];
|
||||
$bg_no = (int) $post_chk_bg_no[$i];
|
||||
if( !$bg_no ) continue;
|
||||
|
||||
$sql = " insert into {$g5['sms5_book_table']}
|
||||
|
||||
Reference in New Issue
Block a user