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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.