PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_Upload » Bug #835

old global arrays to new ones

Details

Submitted2004-02-23 01:52 UTC
Frommaka3d at yahoo dot com dot br
Assignedantonio
StatusClosed
PackageHTTP_Upload
PHP Version4.3.4
OSirrelevant
Roadmaps(Not assigned)

Comments

[2004-02-23 01:52 UTC] maka3d at yahoo dot com dot br

Description:
------------
line 249 can be safe removed and line 250 be replaced from this:

$this->post_files = $HTTP_POST_FILES;

to:

$this->post_files = $_FILES;

the same goes to line 78 and 79

[2004-05-28 18:23 UTC] maka3d at yahoo dot com dot br

is really necessary keeps BC with php 4.1?
$HTTP_POST_FILES exist only between 4.0 and 4.1 and is not autoglobal as his sucessor $_FILES.
And in the TODO, a comment said that the class suport the "new upload features of 4.2", witch show more one feature no present in 4.0 to 4.1