|
If you can call a stored procedure from your PHP you can talk with RPG. Just front your RPG program with an SQL stored procedure and you are good to go. I wrote a ClubTech Tip on this awhile back that you can search for in the archives. Note that it was written with Java as the example language, but any language that can consume a Store Procedure should work. Going off of what Joel said though I think you should change what you are having the different tiers doing. The more languages/technologies you have in the mix the more complicated it is going to be to debug and maintain. HTH, Aaron Bartell -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of lcrane@xxxxxxxxxxxxx Sent: Tuesday, July 19, 2005 12:52 PM To: web400@xxxxxxxxxxxx Subject: [WEB400] PHP calling RPG program Can anyone offer any examples, good websites or books on how to call RPG programs from within a PHP script running on the iSeries using PASE? I am trying to call an RPG program with parameters from within PHP. We have a web site running .NET but need to access our images on the iSeries that have been scanned and placed into the IFS. The images have been scanned in as a .TIF and we are running an RPG program to convert this images from a .TIF to .PDF and display on web using PHP/RPG. Thanks in advance. Lori Crane Trans American CHB 716-896-7800 x261 CONFIDENTIALITY NOTICE: This email transmission and any documents, files, or previous e-mail messages attached to it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any further review, disclosure, copying dissemination, distribution, or use of any of the information contained in or attached to this e-mail transmission is strictly prohibited. If you have received this message in error, please notify the sender immediately by e-mail, discard any paper copies, and delete all electronic files of the message. The recipient should check this email and attachments for the presence of viruses. We accept no liability for any damage caused by any virus transmitted by this email. -- 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 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.