Hallo Tobias,
if (is_file($_FILES['userfile']['name']))
versuchs mal mit $_FILES['userfile']['tmp_name']
habe ich gemacht und es funktioniert
move_uploaded_file($userfile,'mein Pfad')
liefert:
Warning: Unable to create '../../../../../intern/documents/dms_files/': Is a directory in /www/www28/html/intern/intranet/applications/dms/dms_forms/dms_input.php on line 54
du musst an 'meinPfad' noch den Dateinamen dranhängen, also z.B. $_FILES['userfile']['name']
habe ich gemacht und bekomme jetzt
Warning: Unable to create '../../../../../intern/documents/dms_files/Haag.doc': Permission denied in /www/www28/html/intern/intranet/applications/dms/dms_forms/dms_input.php on line 50
Warning: Unable to move '/www/www28/phptmp/phprAvfd7' to '../../../../../intern/documents/dms_files/Haag.doc' in /www/www28/html/intern/intranet/applications/dms/dms_forms/dms_input.php on line 50
Permission denied versteh ich nicht, da ich auch schon images uploaden konnte, ohne diesen Fehler!
(außerdem, was steht in $userfile?)
das ist <input name="userfile" type="file" size="20" accept="text/*" class="forminput">
Danke und Gruß aus Braunschweig
Matthias