Home » HTTP » HTTP_Request » Bug #1433
Posting multible files
Details
| Submitted | 2004-05-18 16:30 UTC |
|---|---|
| From | bh dot box at mnet-online dot de |
| Assigned | avb |
| Status | Closed |
| Package | HTTP_Request |
| PHP Version | 4.3.4 |
| OS | W2K |
| Roadmaps | (Not assigned) |
Comments
[2004-05-18 16:30 UTC] bh dot box at mnet-online dot de
Description:
------------
the var $name is used twice in the function addFile (Line 474..) for different purposes.
When posting files (assigned in an array) the variable $name is overwritten, so that the name oft the post-var is no longer assigned to the call-parameter $name.
Actual result:
--------------
foreach ($filename as $fname) {
if (!is_readable($fname)) {
return PEAR::raiseError("File '{$fname}' is not readable");
}
}