Home » HTTP » HTTP_Upload » Bug #2412
getFiles not return Pear Error Object
Details
| Submitted | 2004-09-29 04:13 UTC |
|---|---|
| From | roux at dot-wired dot org |
| Status | Bogus |
| Package | HTTP_Upload |
| PHP Version | 4.3.9 |
| OS | windows2000 |
| Roadmaps | (Not assigned) |
Comments
[2004-09-29 04:13 UTC] roux at dot-wired dot org
Description:
------------
getFiles() method of HTTP_Upload ,seems not return Pear Error Object. So, example code dose not works correctly.
--
$file = $upload->getFiles('userfile');
if (PEAR::isError($file)) {
die ($file->getMessage());
}
--