Re: HTML_QuickForm : PHP 4.2 dependency
| From: | Frederic Poeydomenge | Date: | Wed, 11 Jun 2003 06:08:24 +0000 |
| Subject: | Re: HTML_QuickForm : PHP 4.2 dependency | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17295@lists.php.net to get a copy of this message | ||
Hi Bertrand,
> But it looks like someone ;) added a check in ['tmp_name'], so it should be
> safe to use it with older versions too.
That was me ;) But in fact it was the opposite, don't you remember : the
original check routines (before v3.0Beta1) for file upload were using
['tmp_name'] so it was working with virtually every version of PHP. And then was
added the support for version 4.2 by adding a check on the ['error'] field.
That's not the same !
> says that upload error messages have been set since php 4.2. As we now use
> them in QuickForm, 4.2 is required.
We only added the support for 4.2 file upload, but the backward compatibility
was kept, so QuickForm is still working with previous versions...
That's why I said that IMHO the dependency is not necessary,
Regards,
--------------------
Frederic Poeydomenge