Voll Upload SGD Fachinformatiker PHP
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
if (!empty($_FILES['datei']['name'])) {
|
||||
|
||||
if (move_uploaded_file($_FILES['datei']['tmp_name'],
|
||||
|
||||
'upload/' . $_FILES['datei']['name'])) {
|
||||
|
||||
echo 'Upload der Datei ' .
|
||||
|
||||
$_FILES['datei']['name'] . ' beendet<br>';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user