Thomas Schmieder: Bildupload Problem

Beitrag lesen

Hallo,

Achso...

habe das ganze jetzt mal Local getesten und da funktioniert es auch nicht ;(

na, dann schau Dir nochmal die Vorgaben für den Verzeichnisnamen an. Vielleicht muss der Slash am Ende weg?

<cite>
bool move_uploaded_file ( string filename, string destination)

This function checks to ensure that the file designated by filename is a valid upload file (meaning that it was uploaded via PHP's HTTP POST upload mechanism). If the file is valid, it will be moved to the filename given by destination.
</cite>

Das bedeutet also, dass Du als Ziel "/Zielverzeichnis/Zielfilename" angeben musst. Das hast Du nicht getan. Kam mir gleich komisch vor.

Liebe Grüße aus http://www.braunschweig.de

Tom

--
Intelligenz ist die Fähigkeit, aus Fehlern Anderer zu lernen und Mut die, eigene zu machen.