You only have to configure your ODBC (as System DNS) and it works perfectly.

Instead of MySQL you can install DB2 on you PC and develop and test scripts
there; you can replicate the same data environment: export from iSeries
(with cpytoimpf) and import into db2.

When ready you can acces production data on iSeries or port the entire
script on iSeries Pase environment and run it (just change the user/password
in your .inc file).

The only difference I saw is that lists are ordered in a different way on PC
and iSeries (numbers before letters).


----- Original Message ----- 
From: "Kelly Cookson" <kc62301@xxxxxxxxx>
To: <WEB400@xxxxxxxxxxxx>
Sent: Thursday, August 19, 2004 2:41 PM
Subject: [WEB400] Can PHP access remote iSeries databases?


> I'm an iSeries COBOL developer who is
> brand-spanking-new to PHP.
>
> I have a test environment set up on my PC (Apache web
> server, PHP 5, and MySQL).  I also have Access for
> Windows with a connection to an iSeries running V5R2.
>
>
> Is it possible to somehow let PHP scripts running in
> Apache on my PC access the DB2/400 database files on
> the iSeries?  Ideally, I would like to do this without
> relying on Access for Windows, but if there's a way to
> do it with Access (e.g., an ODBC driver or with the
> new .NET support), I'd like to know that, too.
>
> Thanks for any info.
> Kelly
>
>
>
> __________________________________
> Do you Yahoo!?
> Y! Messenger - Communicate in real time. Download now.
> http://messenger.yahoo.com
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/web400
> or email: WEB400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.