[imp] HTTP_POST_FILES problem in php5
Joeri Pronk
joeri at joeri.nu
Mon Oct 25 07:51:58 PDT 2004
I recently installed php5.0.2 and I noticed that in the HEAD version
imp/compose.php still uses HTTP_POST_FILES which should be using _FILES. The
RELENG_3 release seems ok.
The same problem is in gollem/manager.php
BTW: What is the status of php5 and horde? is there active testing besides me?
Regards,
Joeri Pronk
imp/compose.php
1072c1072
< for ($i = 1; $i <= count($HTTP_POST_FILES); $i++) {
---
> for ($i = 1; $i <= count($_FILES); $i++) {
1074,1075c1074,1075
< if (isset($HTTP_POST_FILES[$key]) &&
< ($HTTP_POST_FILES[$key]['error'] != 4)) {
---
> if (isset($_FILES[$key]) &&
> ($_FILES[$key]['error'] != 4)) {
gollem/manager.php
110,111c110,111
< if (isset($HTTP_POST_FILES[$val]) &&
< ($HTTP_POST_FILES[$val]['error'] != 4)) {
---
> if (isset($_FILES[$val]) &&
> ($_FILES[$val]['error'] != 4)) {
More information about the imp
mailing list