RE: [PHP-DB] PHP on WIN32 with DB2 CLI

From: Date: Mon, 02 Apr 2001 21:21:13 +0000
Subject: RE: [PHP-DB] PHP on WIN32 with DB2 CLI
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-8152@lists.php.net to get a copy of this message
Well in linux I use the CLI interface from php to run all my queries. I read somewhere that the native CLI interface was faster than using the ODBC driver. I have the ODBC driver working properly, I just wanted to know if it was possible to use CLI with PHP in windows (like on Linux). I guess I'll just stick with ODBC. Thanks, Chris Book csbook@uwaterloo.ca -----Original Message----- From: Dan Scott [mailto:dan.scott@org.acm.reverse] Sent: Sunday, April 01, 2001 11:40 PM To: php-db@lists.php.net Subject: Re: [PHP-DB] PHP on WIN32 with DB2 CLI Actually, CLI is almost function-for-function the same as ODBC. The PHP implementation of ODBC is quite a simplified version, but it covers most of the basic function. Chris, what is it that you are trying to do, specifically? Dan Phil Jackson wrote: > Chris - I think to use DB2's CLI interface, you need a compiled langauge, > like > some flavor of C++ or VB. I've seen some examples using the CLI > interface, so > my question is why on earth would you chose that over generic ODBC? That > CLI is nasty-looking, > pages of code versus what you can do in a few lines with ODBC.. - but I > have a project > using both DB2 on a mainframe and DB2 UDB - so I am very interested in > your thoughts on all this! > Phil J. > > > Chris Book wrote: > >> Hi, >> >> I've compiled php before with --with-ibm-db2 to use DB2's CLI driver. >> Now I'm working on NT with the php binary, and I can't figure out how to >> connect >> to DB2 except with ODBC. I would prefer to use the CLI interface than an >> ODBC interface. Is this possible or am I stuck with ODBC on NT? >> >> Thanks, >> Chris Book >> csbook@uwaterloo.ca >> >> -- >> 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 (#8152) next »