Re: PHP on WIN32 with DB2 CLI
| From: | Phil Jackson | Date: | Fri, 30 Mar 2001 05:16:21 +0000 |
| Subject: | Re: PHP on WIN32 with DB2 CLI | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8021@lists.php.net to get a copy of this message | ||
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