SQLInjection 대응을 위해 파일 상단부에 $_POST, $_GET의 원하는 변수 타입명 지정
This commit is contained in:
1 parent
14578fa828
commit
37f56f05b6
51 files changed
+374
-26
No files matched your search
@@ -4,7 +4,7 @@ include "func.php";
|
||||
|
||||
$id = $_POST[id];
|
||||
$pw = $_POST[pw];
|
||||
$face = $_POST[face];
|
||||
$face = (int)$_POST[face];
|
||||
|
||||
$pwTemp = substr($pw, 0, 32);
|
||||
|
||||
|
||||
Reference in new issue
Block a user