Re: HTMP-Progress with PHP v4.1.2?
| From: | Laurent Laville | Date: | Fri, 14 Nov 2003 23:29:56 +0000 |
| Subject: | Re: HTMP-Progress with PHP v4.1.2? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8955@lists.php.net to get a copy of this message | ||
"Gerd Terlutter" <gerd@MplusB.de> a écrit dans le message de news:
3FB4F887.4050601@MplusB.de...
> Hi list,
> i'm looking for something like HTML-Progress, but it should run on
> PHP4.1.2. any ideas and/or help would be fine.
>
> Thanks,
> Gerd
> --
> # Gerd Terlutter | Mueller+Blanck Software GmbH #
> # office:+49 40 500 171-1| http://www.mplusb.de #
Finally after retrieving and installing PHP 4.1.0, i've tested all
HTML_Progress-1.0RC2 examples
and i got only 2 problems :
1. was solved easily :
origin of problem is in HTML_Progress_DM::getPercentComplete() method
i've used floatval() a function that comes with PHP 4.2.0
easysolution found into PHP manual user-notes
jason at shadonet dot com (08-Mar-2003 01:07)
Instead of using floatval which only appeared in PHP 4.2 you could use
$variable = (float)$variable
2. a warning comes with ProgressMaker using pre-set UI ski
or by using HTML_Progress::setModel() method.
I got a warning with Config 1.9 package
Warning: Undefined property: children in PEAR\Config\Container.php on
line 153
It's very strange, because i got no problem with PHP 4.2.2 or PHP 4.3.2
Finally i think it's good news, because HTML_Progress could certainly be
used
with PHP 4.1.0 or better !
Laurent :o)