RE: [PHP-DB] odbc.ini

From: Date: Tue, 11 Jul 2000 14:01:31 +0000
Subject: RE: [PHP-DB] odbc.ini
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1031@lists.php.net to get a copy of this message
Hi Mirko, It's doubful that a bad odbc.ini or odbcinst.ini are producing that screen garbage. if you like, please paste in your files. Also, have you tested the DSN outside of PHP? Best regards, Andrew ---------------------------------------------------- Andrew Hill Professional Services Consultant OpenLink Software http://www.openlinksw.com Universal Database Connectivity Technology Providers -----Original Message----- From: Mirko Nalesso [mailto:okrim74@libero.it] Sent: Tuesday, July 11, 2000 3:10 AM To: rasmus@php.net Cc: php-db@lists.php.net Subject: [PHP-DB] odbc.ini Hi, I have problems with IBM DB2 and PHP3: Netscape shows strange messages when I use odbc_connect in file odbc.php3: Warning: SQL error: üçÿ¿ çÿ¿p?ÿÿÿÿÁ¨E@ö^~@Ð?z@, SQL state P°-@psPèÿ¿8 P°-@ in SQLConnect in /usr/local/apache/htdocs/odbc.php3 on line 36 BAD CONNECTION Number --> I have Linux Red Hat 6.1, php 3.0.16, apache 1.3.12 and IBM DB2 6.1: I compiled php with --with-ibm-db2, infact when I write "php odbc.php3" on shell, there is the connection with database and the right results; if I use Netscape, there are previous messages. Maybe the problems are in files odbc.ini and odbcinst.ini: can you send me examples of files odbc.ini and odbcinst.ini? Thanks a lot. Mirko -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#1031) next »