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"]; } }