Testing
This commit is contained in:
parent
b3c4a3fc6c
commit
dd299ee528
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
$target_dir = "uploads/";
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "POST" && isset($_POST["submit"]) && $_POST["heslo"] = "davidjesuperfakt") {
|
||||
if ($_SERVER['REQUEST_METHOD'] == "POST" && isset($_POST["submit"]) && sha1($_POST["heslo"]) === "5cfce6e9a82aa4cd75657d76ce21111624f20f3f") {
|
||||
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);
|
||||
$uploadOk = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user