From cb5d859752df8b9438aac10ad014344affafdf02 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Sun, 9 Apr 2023 12:02:54 +0100 Subject: [PATCH] added more comments --- upload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upload.php b/upload.php index d68aead..6c66f33 100644 --- a/upload.php +++ b/upload.php @@ -26,8 +26,8 @@ function returnJson($status, $message, $timeTaken = null) { die(); } -$token = $_POST['secret']; -$file = $_FILES['sharex']; +$token = $_POST['secret']; // The provided secret key +$file = $_FILES['sharex']; // The uploaded file // Check if the token is valid if (!checkToken($token)) {