On Friday, December 5, 2003, at 05:31 pm, Brad Perkins wrote:

Now one of my clients wants fancy password protection for some pages which he needs to update regularly. I want to control the passwords/access using sessions in A4D, but I still want him to be able to FTP the updates. So, I was hoping I'd be able to include a remote URL in an A4D page, in the form:

<% include("http://www.com";) %>

However, I assume this is not possible.

When you say include a remote URL I assume you mean the content of the page at the URL?

Yes, indeed.

Another (admittedly ugly) solution might be to have a4d call some ITK or 4DIC 4d code that would get the HTML for the page you want to include write the result to a file and have a4d include it.

I can see how that might work, but it does seem a bit extreme! The main problem would be that ITK would have to pick up the remote contents and write the file every time the A4D page was called up, because it would not know if it had been updated or not.


So, is it correct that there is no simple way to have A4D code retrieve the contents of a remote URL page, or does anyone have any further ideas?

Thanks.

David Wright




Reply via email to