From df60f29eef1280a70ba598d74bdba854a87d1b05 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Tue, 15 Sep 2020 16:40:55 +0200 Subject: [PATCH] Error message --- admin/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/upload.php b/admin/upload.php index 589e08d..c406481 100644 --- a/admin/upload.php +++ b/admin/upload.php @@ -53,6 +53,6 @@ if ($uploadOk == 0) { header("Location: prikazi.php?slika=$hashed_name"); exit(); } else { - echo "Sorry, there was an error uploading your file."; + echo "Sorry, there was an error uploading your file. " + $_FILES["fileToUpload"]["error"]; } }