정규식 패턴 수정

This commit is contained in:
chicpro
2015-12-10 16:14:58 +09:00
parent ab79139a91
commit 1e07d2c71f
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<?php
include_once('./_common.php');
$pattern = '#[/\'\"%=*\#\(\)\|\+\&\!\$~\{\}\[\]`;:\?\^\,]#i';
$pattern = '#[/\'\"%=*\#\(\)\|\+\&\!\$~\{\}\[\]`;:\?\^\,]#';
$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' ";