Re: HTML_QuickForm : PHP 4.2 dependency

From: Date: Tue, 10 Jun 2003 19:45:42 +0000
Subject: Re: HTML_QuickForm : PHP 4.2 dependency
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17279@lists.php.net to get a copy of this message
<frederic.poeydomenge@free.fr> wrote : > Hi, > > I'm currently using HTML_QuickForm 3.0 from CVS, on a PHP 4.1.2 box, and > recently I have not been faced with any problem concerning file uploads, so > I'm > wondering if the current PHP 4.2 dependency in the package.xml is really > necessary ? > > Bertrand made some corrections in the file upload layer in QuickForm version > 3.0Beta1-beta (see the changelog), and I think that everything should be > working > fine with older versions of PHP... Why not removing this dependency (or at > least > reducing it..) ? Hi Frederic, This page: http://fr3.php.net/manual/en/features.file-upload.errors.php says that upload error messages have been set since php 4.2. As we now use them in QuickForm, 4.2 is required. But it looks like someone ;) added a check in ['tmp_name'], so it should be safe to use it with older versions too. Let me know if you run into some problems. It's kind of complex to keep track of all the changes in PHP. Thanks, Bertrand Mansion Mamasam

« previous php.pear.dev (#17279) next »