LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Karsten Eichentopf Date: Sat Jan 10 11:27:23 2004 Subject: Re: Fileupload on MAC-Browsers won't work
> // 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
| Navigate in group php.lang at sever news.php.net | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |