How to connect to an AS/400 database from a remote PHP script

15 pts.
Tags:
AS/400 connectivity
AS/400 development
DB2/400
iSeries connectivity
iSeries development
PHP
Remote access
Hello. I have a requirement to use a PHP script running under Windows to access a remote DB2/400 on an iSeries. Can anyone please assist in what PHP coding would be needed, thank you! Regards Paul
ASKED: May 10, 2009  10:13 PM
UPDATED: September 10, 2013  2:22 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

There are some answers in this previous thread: Retrieving data from AS/400 tables with PHP.

You need to set up an ODBC connection and you need the correct connection strings.

You can Google “PHP connect to iSeries” and probably come up with a lot of information as well.

Regards
Mike

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • PaulTaylor
    Thanks Mike. All I need to understand know is how to get ODBC to work! Cheers Paul
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following