Larry,
No. Although Net.data used to support the equivalent feature via the INCLUDE_URL statement but IBM deprecated this long ago and it was only supported on platforms other the OS/400 so we could never use it anyway.
You must either roll your own or use a 3rd party "get url" function, like HTTPAPI for example.
Failing that, I hesitate to say that technically it would be possible to have the browser itself request the url, via a <script> element, <iframe> or ajax and then post the content back to your server and then include it via a regular include block, but that would be very convoluted.
Peter
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Jeffrey Day
Sent: Wednesday, 8 December 2010 7:32 a.m.
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] include of remote files in net.data
Shouldn't it just be:
1. map the server with NFS
2. use the IFS path to the file you need?
From: Larry Kleinman <larry@xxxxxxxxxxxxxxxxx>
To:<web400@xxxxxxxxxxxx>
Date: 12/7/2010 12:51 PM
Subject: [WEB400] include of remote files in net.data
Does anyone know if net.data allows use of a file on a remote server in a
%include statement. Can I do something like
%include "
http://www.somesite.com/somefile.html"
I'm pretty sure this is doable in PHP
Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100
As an Amazon Associate we earn from qualifying purchases.