PHP & IBM DB2
| From: | Mirko Nalesso | Date: | Mon, 10 Jul 2000 14:00:20 +0000 |
| Subject: | PHP & IBM DB2 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1004@lists.php.net to get a copy of this message | ||
Hi,
I have some problems with the connection to IBM DB2: when I use
odbc_connect ('database name','user','password'), Netscape shows this
message:
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 -->
If I launch "php odbc.php3" on a shell, I have no problem. Can you send
me an example of odbc.ini and odbcinst.ini? I don't know if those files
are the cause of my problem: if you (or someone) have others ideas...
Thanks a lot.
Mirko