Re: [PHP4BETA] register_globals affects File Uploads?
| From: | Andrei Zmievski | Date: | Tue, 23 May 2000 01:22:49 +0000 |
| Subject: | Re: [PHP4BETA] register_globals affects File Uploads? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15493@lists.php.net to get a copy of this message | ||
On Mon, 22 May 2000, Dave wrote:
> Does anyone know why setting register_globals=Off in php.ini disables file
> uploads? It would seem to me that the file data would be in $HTTP_POST_VARS
> if track_vars=On regardless of what register_globals is set to...it also
> states in the PHP docs that the image data would be in $HTTP_POST_VARS as an
> array in the multiple file uploads section.
>
> Current Settings:
> variables_order = "GPCSE"
> register_globals = Off
> track_vars = On
> register_argc_argv = Off
>
> Anyone have any idea on a workaround?
It's $HTTP_POST_FILES, not $HTTP_POST_VARS.
-Andrei