페이지 직접 실행 방지 코드 추가 및 공백, 주석 정리

This commit is contained in:
2025-07-23 16:55:45 +09:00
parent 99a9a6fd42
commit 95fbca87ab
4 changed files with 6 additions and 3 deletions

View File

@ -2,8 +2,6 @@
include_once "_common.php";
if(!$_SESSION['user_id']) exit; // 로그인되어있지 않으면 확인 불가
$product_name = isset($_POST['product_name']) ? trim($_POST['product_name']) : exit;
$barcode = isset($_POST['barcode']) ? trim($_POST['barcode']) : exit;
$used = isset($_POST['used']) ? trim($_POST['used']) : exit;