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.

This thread ...

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.