From ad0826bd624a965fc93fb40b7266854e2ce52e8e Mon Sep 17 00:00:00 2001 From: Alex Vitkov Date: Fri, 12 Feb 2021 13:32:00 +0200 Subject: form encoding --- loggedin.php | 2 +- php/upload.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/loggedin.php b/loggedin.php index 74c0b10..b525ed6 100644 --- a/loggedin.php +++ b/loggedin.php @@ -12,7 +12,7 @@ - diff --git a/php/upload.php b/php/upload.php index b6cd335..ba29cb0 100644 --- a/php/upload.php +++ b/php/upload.php @@ -9,6 +9,8 @@ if (!isset( $_POST["filename"]) || !isset($_FILES["the_file"])) exit(1); } +echo "adsf"; + $file = $_FILES["the_file"]; $filename= $_POST["filename"]; -- cgit v1.2.3