Re: Fileupload on MAC-Browsers won't work

[email protected] (Karsten Eichentopf) Sat, 10 Jan 2004 19:27:23 +0100
Newsgroups php.lang
Message-ID <[email protected]>
> // if the Picture was uploaded  
> if ($BildDatei!="" AND  

Hi Volker,
maybe registerglobals is of and i don't know if input type="file" can be 
accessed this way maybe $BildDatei['name']?
So you should use $_FILES['BildDatei']['name'] to access the name as you 
do in the next line.
Hope that helps but every browser that uses HTTP should be able to POST 
this correctly. Look through the manual

Ich denke Du bist Deutscher :)


http://www.php.net/manual/de/features.file-upload.php
----
  Die für hochgeladene Dateien definierten Variablen sind je nach PHP 
Version und Konfiguration verschieden. Die Autoglobale $_FILES existiert 
seit PHP 4.1.0 und das Array $HTTP_POST_FILES  seit PHP 4.0.0. Diese 
Arrays enthalten alle Informationen über Ihre hochgeladenen Dateien. Die 
Verwendung von $_FILES wird bevorzugt. Ist die PHP Anweisung 
register_globals auf on, stehen auch entsprechende Variablennamen zur 
Verfügung. Seit PHP 4.2.0  steht register_globals  standardmäßig auf off.
----


Mit freundlichen Grüßen,
Karsten