Top Level :: HTTP

Package Information: HTTP_Upload 0.9.0

Show All Changelogs
» Version » Information
0.9.1 2004-08-11     stable
0.9.0Download

Release date: 2004-08-10 14:56 UTC
Release state: stable

Changelog:

**The first release in (exactly!) two years!**

- (antonio) Added support for both PHP >= 4.2 and PHP 4.0-4.1
- (antonio) Fixed a lot of bugs
- (antonio, wenz) Fixed some localization strings
- (wenz) if only empty files are uploaded, an error message
is triggered
- (wenz) added setChmod() method to change CHMOD of uploaded files (patch by Markus Tacker)
- (cox, antonio, wenz) many minor fixes
- (cox) Error detection was enhanced, so you no longer need to
check for PEAR::isError() in $upload->getFiles() or call
$upload->isMissing(). Instead you'll
get the error when do a check for $file->isError().

Example:

$upload = new HTTP_Upload('en');
$file = $upload->getFiles('i_dont_exist_in_form_definition');
if ($file->isError()) {
die($file->getMessage());
}

TODO:

- Move error class to a new file
- As PEAR in general requires now PHP 4.2, maybe drop BC compat in future

0.8.1 2002-08-10     stable
0.8 2002-01-27     stable
0.7 2001-12-29     stable