RE: [PHP-DB] Accessing IBM DB2-400 without Client Connect From: Marc Grober (mgrober <email protected>)
Date: 11/07/00

> The point I'm trying to make is, ODBC
> is an alternative to native connectivity which,
> depending on the ODBC vendor
> can be faster, slower, more or less functional than
> the native dbms vendors' connection layers - dbms
> vendors core focus is on the dbms, not necessarily
> protocols to aid in communication.
> Hope this helps.

My question was whether I can use php and its
ODBC drivers to directly access DB2 (or any other
db for that matter) without any other software.
As I understand what you are saying, that is the
case; I can do queries via the PHP ODBC drivers
(though according to the FAQ php is not "really"
using ODBC to talk to DB2) Has anyone on the list
successfully done that for DB2 on the AS/400?

>
> Best regards,
> Andrew
> ----------------------------------------------------
> Andrew Hill
> Director Technology Evangelism
> OpenLink Software
> http://www.openlinksw.com
> XML & E-Business Infrastructure Technology Provider
>
>
> > -----Original Message-----
> > From: Marc Grober [mailto:mgrober <email protected>]
> > Sent: Monday, November 06, 2000 8:18 PM
> > To: php-db <email protected>
> > Subject: [PHP-DB] Accessing IBM DB2-400 without Client Connect
> >
> >
> > Hello,
> >
> > I am a newbie at php with experience at perl trying to select
> > between using
> > perl and DBI DB2:DBD and php to provide access to a back end DB2
> > database on
> > an AS/400 from a web server. According to IBM (as I
> understand them), no
> > matter what someone does on the front end, any script must access
> > an IBM DB2
> > client such as Connect in order to talk to the DB2 engine, even
> > using ODBC.
> > WHile this may have some benefits, it also seems to add a
> good deal of
> > overhead..... The various FAQs on php suggest that php can
> speak directly
> > to DB2 via the ODBC modules (though without actually using ODBC).
> > Are there
> > examples of this somewhere that can be accessed or someone on the
> > list with
> > some success in accomplishing this..............
> >
> > Thanks
> >
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>