Subject | Re: Help needed with PHP/FB on Firebird website |
---|---|
Author | u.masotti |
Post date | 2009-04-13T11:37:28Z |
Hi Milan,
--- In firebird-php@yahoogroups.com, Milan Babuskov <milanb@...>
wrote:
My PHP 5.0 Centos4 Web Server is affected indeed; my luck is I don't use in my Web apps DECIMAL or NUMERIC.
In my Ubuntu 10.4 PHP 5.2.6-2ubuntu4.1 there is one more test failing: check CHAR padding for SELECT and SP.
By default I trim() all char fields in result set, so I never noted this, but I must go deeper in what that means.
Many thanks again, Milan.
Ciao.
Mimmo.
--- In firebird-php@yahoogroups.com, Milan Babuskov <milanb@...>
wrote:
> > I'm not able to figure out what are you referring to: PHP 5.* globally or PHP ibase/firebird 5.* interface sources?Ouch!
>
> Interbase driver.
>Many thanks.
> > Can you share which are the most important ones?
>
> Most important and critical are subtle errors in handling of numeric and
> decimal data. For example, Firebird can return a number: 1204.345, but
> driver shows it as: 12043.45.
>
> You can run this test script to see whether your version is affected:
>
> http://fbexport.sourceforge.net/ibtest.php.txt
My PHP 5.0 Centos4 Web Server is affected indeed; my luck is I don't use in my Web apps DECIMAL or NUMERIC.
In my Ubuntu 10.4 PHP 5.2.6-2ubuntu4.1 there is one more test failing: check CHAR padding for SELECT and SP.
By default I trim() all char fields in result set, so I never noted this, but I must go deeper in what that means.
Many thanks again, Milan.
Ciao.
Mimmo.