안전하지 않는 변수에 필터링 추가

This commit is contained in:
thisgun
2022-06-17 12:23:21 +09:00
parent e061ad852b
commit d4f4612b22
7 changed files with 10 additions and 10 deletions

View File

@ -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']}