|
Hmm. I didn't consider CGI. That might be kind of interesting...wonder if I could put the url of a CGI CL program in a PHP include statement? I'll have to try that. My dream is iPAD (iSeries or i5 + PHP + Apache + DB2). iPAD would run in a Linux partition and use Qshell as its command shell. Add an iPAD Toolbox to let PHP scripts have easy access to database files and programs running in an OS400 partition and an iPAD Redbook. Oh well...I can always dream... Thanks for the idea on CGI. Kelly --- Brad Stone <brad@xxxxxxxxxxxx> wrote: > Indirectly, yes. If you can make a URI request to a > web > server running on your AS/400, then you can call a > CL > program when a certain request is made. > > It could also be done indirectly through FTP... > > Example: > Your PHP program makes a URI request to > http://yourAS400.com/cgi-bin/cgipgm > > cgipgm in turn calls the CL, then returns the > appropriate > HTTP headers and response. > > With FTP, you can use RMTCMD. > > Of course, I don't know if these are easily done > with > PHP... but it is possible. :) > > Brad > www.bvstools.com > > > On Fri, 3 Sep 2004 13:13:38 -0700 (PDT) > Kelly Cookson <kc62301@xxxxxxxxx> wrote: > > Can a PHP script running in an Apache server on my > W2K > > PC call a CL program on an iSeries? > > > > I think I read somewhere that PHP can interface > with > > Java, so maybe an interface between PHP scripts > and > > the jt400 Toolbox? > > > > I alo know FTP can be used to start a CL program > on an > > iSeries, and that PHP can has support for FTP. > > > > But maybe there's a better way. Anyone doing this? > If > > so, how? > > > > Thanks, > > Kelly > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > New and Improved Yahoo! Mail - 100MB free storage! > > http://promotions.yahoo.com/new_mail > > _______________________________________________ > > 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. > > > > Bradley V. Stone > BVS.Tools > www.bvstools.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. > > __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail
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.