RE: [PHP-DEV] Uploaded files and $HTTP_POST_FILES
At 07:24 PM 11/6/2001 +0000, Richard Heyes wrote:
Hmm..is this documented somewhere? :)
On this page:
http://www.php.net/manual/en/features.file-upload.php
it is said that those variables are only created after
succesful upload. So IMO, it works as documented.
Indeed. Bit of a pain though.
btw. Why not use the new true global vars: $_FILES[] for example? :)
Bc. On this point however, is there any plans to deprecate or remove the
HTTP_*_VARS arrays?
Please say no. :)
Remove, I don't think so. It would break too many existing sites.
Officially mark them as deprecated so that people use the other ones, yep.
Andi
--
Richard Heyes
http://www.phpguru.org/frederick/
"The good thing about American-English is that you can arbitrarily make up
words if you're stuck in the middle of a sentence with no way out"
--
PHP Development Mailing List <
http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
Thread (4 messages)