SQLInjection 대응을 위해 파일 상단부에 $_POST, $_GET의 원하는 변수 타입명 지정

This commit is contained in:
2018-04-14 01:32:13 +09:00
parent 14578fa828
commit 37f56f05b6
51 changed files with 374 additions and 26 deletions
+11
View File
@@ -3,6 +3,17 @@
include "lib.php";
include "func.php";
$turn = Util::getReq('turn', 'array_int');
$command = Util::getReq('command', 'int', 0);
$cost = Util::getReq('cost', 'int');
$name = Util::getReq('name');
$nationname = Util::getReq('nationname', 'string', '');
$note = Util::getReq('note', 'string', '');
$double = Util::getReq('double', 'int', 0);
$third = Util::getReq('third', 'int', 0);
$fourth = Util::getReq('fourth', 'int', 0);
//로그인 검사
CheckLogin();
$connect = dbConn();