SQLInjection 대응을 위해 파일 상단부에 $_POST, $_GET의 원하는 변수 타입명 지정
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<?
|
||||
include "lib.php";
|
||||
include "func.php";
|
||||
|
||||
$turn = Util::getReq('turn', 'array_int');
|
||||
$sel = Util::getReq('sel', 'int');
|
||||
$commandtype = Util::getReq('commandtype', 'int');
|
||||
|
||||
//로그인 검사
|
||||
CheckLogin(1);
|
||||
$connect = dbConn();
|
||||
|
||||
Reference in New Issue
Block a user