필터링 코드 추가

This commit is contained in:
chicpro
2015-12-10 16:12:20 +09:00
parent fea06d14b9
commit ab79139a91
5 changed files with 13 additions and 9 deletions

View File

@ -4,8 +4,8 @@ include_once('./_common.php');
if($is_guest)
exit;
$price = $_POST['price'];
$send_cost = $_POST['send_cost'];
$price = preg_replace('#[^0-9]#', '', $_POST['price']);
$send_cost = preg_replace('#[^0-9]#', '', $_POST['send_cost']);
// 쿠폰정보
$sql = " select *