Re: PHP with DB2

From: Date: Thu, 26 Oct 2000 01:34:18 +0000
Subject: Re: PHP with DB2
Groups: php.general 
Request: Send a blank email to php-general+get-21997@lists.php.net to get a copy of this message
Try and recompile php with-ibm-db2 option and use db2_* functions. The db_* is almost the same as teh odbc_ functions. - Frank >I wonder if someone could help me out with a problem I'm having >making PHP work with DB2. We're calling odbc_connect() with the >login username and password, and with the DSN name set to the >"connection port for DB2 instance". The problem I'm having is that, >in addition to an error message, I get garbage characters with the >error message. Honestly, I wouldn't swear that the parameters being >correct -- but the errors generating garbage characters indicate to >me that something else is very wrong here. For example: > > Warning: SQL error: , SQL state ¯ cludxèÿ¿Ë / includ in SQLConnect in > /usr/local/apache/htdocs/db2.php on line 3 > >Configuration info: > >-DB2 on the same machine. >-RedHat Linux 6.0 >-PHP 4.0.3pl1 and 3.0.12 >-Apache 1.3.9 >-DB2 Personal Edition version 7.1 > >Any advice would be much appreciated. > >Thanks!!! > >John > > >---- >John Brayton >Clearway Technologies >http://www.clearway.com/ > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#21997) next »