php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
include_once('./_common.php');
|
||||
|
||||
$pattern = '#[/\'\"%=*\#\(\)\|\+\&\!\$~\{\}\[\]`;:\?\^\,]#';
|
||||
$it_id = preg_replace($pattern, '', $_POST['it_id']);
|
||||
$it_id = isset($_POST['it_id']) ? preg_replace($pattern, '', $_POST['it_id']) : '';
|
||||
|
||||
$sql = " select * from {$g5['g5_shop_item_table']} where it_id = '$it_id' and it_use = '1' ";
|
||||
$it = sql_fetch($sql);
|
||||
|
||||
Reference in New Issue
Block a user