Top Level :: HTTP

Package Information: HTTP_Upload

Show All Changelogs
» Version » Information
0.9.1Download

Release date: 2004-08-11 06:27 UTC
Release state: stable

Changelog:

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

- **Changes between 0.9.0 and 0.9.1: fixed md5 hashes in package.xml!***
- (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.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.1Download

Release date: 2002-08-10 20:01 UTC
Release state: stable

Changelog:

Packing fixes (no need to upgrade if you have the 0.8 version already installed)

0.8Download

Release date: 2002-01-27 20:11 UTC
Release state: stable

Changelog:

- Fixed compatibility issues with PHP > 4.1
- Added isMissing() to the upload main object. Use this first
to check if the user has submitted a file (for PHP > 4.1 users)
- Depreciate the use of errorMsg() in the file object. Use
getMessage() instead.
- Added NL and FR translations (thanks Hans and Luc!)
(full backawards compatibility preserved)

0.7Download

Release date: 2001-12-29 07:12 UTC
Release state: stable

Changelog:

- Added file extension checking support. Now by default rejects this extensions: \'php\', \'phtm\',
\'phtml\', \'php3\', \'inc\'
- More in-line documentation and error code tranlations in spanish, english and german
- Other minor fixes