SQLInjection 대응을 위해 파일 상단부에 $_POST, $_GET의 원하는 변수 타입명 지정
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
// $_POST['notice'] : 공지
|
||||
// $_POST['server'] : 서버 인덱스
|
||||
// $_POST['select'] : 0: 폐쇄, 1: 리셋, 2: 오픈
|
||||
$action = $_POST['action'];
|
||||
$action = (int)$_POST['action'];
|
||||
$notice = $_POST['notice'];
|
||||
$server = $_POST['server'];
|
||||
$select = $_POST['select'];
|
||||
$server = (int)$_POST['server'];
|
||||
$select = (int)$_POST['select'];
|
||||
|
||||
require_once('_common.php');
|
||||
require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
|
||||
|
||||
Reference in New Issue
Block a user