Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0b4

Bug #835 old global arrays to new ones
Submitted: 2004-02-23 01:52 UTC
From: maka3d at yahoo dot com dot br Assigned: antonio
Status: Closed Package: HTTP_Upload
PHP Version: 4.3.4 OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 41 - 9 = ?

 
 [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

Comments

 [2004-05-28 17:49 UTC] antonio
Sorry, but your problem does not imply a bug in PEAR itself. For a list of more appropriate places to ask for help using PEAR, please visit http://pear.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PEAR. Users with PHP < 4.1 don't have $_FILES: http://br.php.net/reserved.variables
 [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
 [2004-05-28 19:26 UTC] antonio
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. http://cvs.php.net/co.php/pear/HTTP_Upload/Upload.php?r=1.32#82 http://cvs.php.net/co.php/pear/HTTP_Upload/Upload.php?r=1.32#260