SQLInjection 대응을 위해 파일 상단부에 $_POST, $_GET의 원하는 변수 타입명 지정
This commit is contained in:
@@ -4,9 +4,11 @@ include "func.php";
|
||||
$connect = dbConn();
|
||||
increaseRefresh($connect, "빙의일람", 2);
|
||||
|
||||
if($type == 0) {
|
||||
$type = Util::getReq('type', 'int', 1);
|
||||
if($type <= 0 || $type > 8){
|
||||
$type = 1;
|
||||
}
|
||||
|
||||
$sel[$type] = "selected";
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user