mssql and sybase

From: Date: Wed, 14 Jun 2000 09:19:21 +0000
Subject: mssql and sybase
Groups: php.dev 
Request: Send a blank email to php-dev+get-21292@lists.php.net to get a copy of this message
Hi, I wrote a testscript that should return two equal lines. but the output is most of the time incorrect. My hash contains a b FIRSTNAME rainer LASTNAME zufall COMPANY dusty C2 hallo C330000000000004 before i leave the funtion, but the result contains a b FIRSTNAME ¬L³¾ LASTNAME C2 please visit http://194.25.165.5/test.html and try it out. This page includes bug, source and phpinfo(). You may have to reload the test.php-page many times, because the bug is not deterministic. Mike reported a similar problem with sybase ([PHP-DB] sybase problems) I tried different configurations with redhat 6.1 and suse 6.4. I used static apache and modules, i tried the suse-sybase-rpm, played with httpd.conf, used sybase_ instead of mssql_, tried fetch_row and fetch_array, tried casting in sql and php, nothing helped. my sybase-driver from www.sybase.com -rw-r--r-- 1 root root 33642352 Apr 4 15:43 sybase-ase-11.9.2-1.i386.rpm -rw-r--r-- 1 root root 5044673 Apr 4 15:43 sybase-common-11.9.2-1.i386.rpm -rw-r--r-- 1 root root 15080601 Apr 4 15:43 sybase-openclient-11.1.1-1.i386.rpm Is there an other driver i can try out? Can anyone tell me how to compile php4 with freetds? Does anyone know an other way to access my mssql server ? I use mssql 7.0 on winnt 4, apache-1.3.12 and php4-final ( and RC1) please help, thanks Markus

« previous php.dev (#21292) next »