This commit is contained in:
Marcel Kapfer (mmk2410) 2016-04-09 11:51:38 +02:00
parent e971cffc95
commit 027b7e011e
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# COPYRIGHT (c) 2016 Marcel Kapfer (mmk2410)
# MIT License
if (0 < $_FILES['userfile']['error']) P{
if (0 < $_FILES['userfile']['error']) {
echo "Error: " . $_FILES['userfile']['error'] . "<br>";
} else {
move_uploaded_file($_FILES['userfile']['tmp_name'], "../../assets/file.bin");