#29352 [Fbk->NoF]: returned number values shipped with trailing character
ID: 29352
Updated by: php-bugs@lists.php.net
Reported By: p dot novicky at sh dot cvut dot cz
-Status: Feedback
+Status: No Feedback
Bug Type: Sybase (dblib) related
Operating System: Redhat 9.0 Linux
PHP Version: 4.3.8
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2004-12-13 07:29:05] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-07-23 17:28:14] p dot novicky at sh dot cvut dot cz
Description:
------------
Hi,
I tried to use the newest version of PHP (4.3.8) and Sybase module
using FreeTDS v. 0.62-4 and Apache 1.3.31. I compiled the module
statically into PHP like this:
./configure --prefix=/opt/php-4.3.8 --with-apache=../apache_1.3.28 \
--with-curl --with-zlib --with-sybase=/opt/freetds \
--enable-trans-sid --with-iconv --with-recode --with-xml
And my web application stops working and i have to use older version of
PHP (4.3.3), where everything work just fine.
When i submit SELECT query to database and then retrieve the data using
sybase_fetch_array(), number values from database is shipped with weird
trailing character.
f.e.: echo $row["number"], which should give just '1' gives
'1<character>'.
So that's the problem, i wonder if it's the problem of PHP or FreeTDS
or why it happens.
Best regards,
Petr Novicky
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29352&edit=1
Thread (3 messages)