|
The rule is: the DB2_ functions can only be used to access a DB2 database installed on the same machine that runs your PHP scripts.
If you are running your PHP scripts in the Zend Core, Zend Platform, or Zend Server on the IBM i, then you can use the DB2_ functions to access the DB2400 database on the IBM i. I actually prefer this to the i5_ functions.
If you are running your PHP scripts in a web server located on a machine using the Windows operating system, then you will need to set up an ODBC (JDBC, etc) connection between your scripts on the Windows machine and the DB2400 database on the IBM i.
I can't say what kind of a performance difference there would be between these two options.
Kelly Cookson
Senior Programmer/Analyst
Dot Foods, Inc.
217-773-4486 x12676
www.dotfoods.com
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Tom Deskevich
Sent: Friday, February 26, 2010 3:12 PM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] Calling a stored procedure that exists ontheAs/400fromPHP
Please forgive my ignorance. Do you mean which zend client that I develop in
using Windows?
I don't think I need anything installed on Windows if I am developing and
running my scripts straight off the i. Maybe someone else can chime in if I am misleading you...
Tom Deskevich
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.