#29352 [Opn->Fbk]: returned number values shipped with trailing character
| From: | sniper@php.net | Date: | Mon, 13 Dec 2004 06:29:06 +0000 |
| Subject: | #29352 [Opn->Fbk]: returned number values shipped with trailing character | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70128@lists.php.net to get a copy of this message | ||
ID: 29352
Updated by: sniper@php.net
Reported By: p dot novicky at sh dot cvut dot cz
-Status: Open
+Status: Feedback
Bug Type: Sybase (dblib) related
Operating System: Redhat 9.0 Linux
PHP Version: 4.3.8
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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