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

2001-04-02 Thread Chris Book

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
[EMAIL PROTECTED]

-Original Message-
From: Dan Scott [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 01, 2001 11:40 PM
To: [EMAIL PROTECTED]
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
 [EMAIL PROTECTED]

 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-04-01 Thread Dan Scott

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
 [EMAIL PROTECTED]

 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] PHP on WIN32 with DB2 CLI

2001-03-29 Thread Chris Book

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
[EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-03-29 Thread Phil Jackson

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
 [EMAIL PROTECTED]

 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]