Forum Moderators: open
I was given this to use at one point:
<!--#include virtual=” [otherdomain.com...]
One client told me it worked great. Another told it didn't work and furthermore what I wanted to do with ASP was not possible. Bottom line is that three different people have told me, "You can't do it with asp." That sounds inconceiveable to me but, lacking ASP capabilities, I can't test anything to prove it either way.
What short piece of code can be included in an asp page that will reflect a page from another domain within that page holding the code once it's published?
Kind of as an aside, but very relevant, I had yet another client's webmaster claim that he was able to include a page from Site A into a page on Site B without using ASP or PHP and the source code of the included page was right there to be seen. I wasn't able to find out how he did it. His own content was top, left and bottom of the page with the included information in the center two-thirds. A framed solution didn't sound practical to me but I don't know how else he could have done it. Any help there as an alternative would be appreciated as well. It's essential that the copied information actually appear on the client's domain with updates to the copied page automatically appearing (after refreshing) on the subject page.
Thanks.
However, there are methods for fetching a remote file and using its results within your ASP. Perhaps if you could post the PHP that you think does this it would help to get an ASP equivelant.
As for including a remote file without any scripting on the server, I believe it can only be done as a frame or iframe.
Whatever page it's used in, is there a simple format such as the php one that I can use?