Hallo - versuche schon mehrere Stunden ein Upload-Script zu erstellen.
Leider bekomme ich immer Fehlermedungen :-(
Warning: move_uploaded_file(/tmp/phpyQk2tg):
failed to open stream: No such file or directory
in /home/benutzer/public_html/eingabe.php on line 9
Warning: move_uploaded_file():
Unable to move '/tmp/phpyQk2tg' to '/tmp/phpyQk2tg'
in /home/benutzer/public_html/eingabe.php on line 9
vielen Dank
Leider bekomme ich immer Fehlermedungen :-(
Warning: move_uploaded_file(/tmp/phpyQk2tg):
failed to open stream: No such file or directory
in /home/benutzer/public_html/eingabe.php on line 9
Warning: move_uploaded_file():
Unable to move '/tmp/phpyQk2tg' to '/tmp/phpyQk2tg'
in /home/benutzer/public_html/eingabe.php on line 9
PHP-Code:
if($_POST){
$assi = $_FILES['file_x'] ;
$a_0 = $assi['type'] ;
$a_1 = $assi['tmp_name'] ;
$a_2 = $assi['name'] ;
echo "a_0 = $a_0 # a_1 = $a_1 # a_2 = $a_2 # <br>" ;
echo "<img src=$a_1> Bild <br>" ;
$test_x = move_uploaded_file($assi['tmp_name'], "tmp/bild.jpg" ) ;
echo "test_x = $test_x <br>" ;
}
Kommentar