Re: Fileupload on MAC-Browsers won't work

From: Date: Sat, 10 Jan 2004 18:27:23 +0000
Subject: Re: Fileupload on MAC-Browsers won't work
References: 1  Groups: php.lang 
Request: Send a blank email to php-lang+get-546@lists.php.net to get a copy of this message
// 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

« previous php.lang (#546) next »