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