Re: PHP on WIN32 with DB2 CLI

From: Date: Mon, 02 Apr 2001 03:39:36 +0000
Subject: Re: PHP on WIN32 with DB2 CLI
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-8106@lists.php.net to get a copy of this message
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 (#8106) next »