Hi,
Er lädt die Datei ins tmp hoch, löscht Sie aber bevor er durch move_uploaded_file diese ins verzeichnis legt.
Wie hast du diese Annahme ueberprueft?
$uploaddir = '/opt/uploaded/';
$uploadfile = $uploaddir . basename($_FILES['userfile']['name']);echo '<pre>';
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
Ich vermute ja, dass das hier entweder mangels Rechten, oder wegen unsinniger Variableninhalte schief geht.
Dein Debugging an dieser Stelle hat was ergeben?
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“