Voll Upload SGD Fachinformatiker PHP

This commit is contained in:
2026-06-03 13:46:32 +00:00
parent 1256ec2190
commit 84a568d89c
265 changed files with 9961 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
if ($_FILES['datei']['error'] == 2) {
echo "Es gab bein Hochladen der Datei ein Problem.<br>";
echo "Die Dateigröße ist auf 30.000 byte beschränkt.<br>";
}
if (!empty($_FILES['datei']['name'])){
if (move_uploaded_file($_FILES['datei']['name'], 'upload/' .$_FILES['datei']['name'])) {
echo 'Upload der Datei ' . $_FILES['datei']['name'] . ' beendet <br>';
}
}
?>