Forum Moderators: coopster
Here's what I want to do. Open an index.php file on our (unix) server that does some processing, and in the middle of the page, I want to load something that is generated in asp but resides on another (windows) server.
Is it possible to include an asp file that is located on another server? What would be necessary to set up on that server? I haven't spoken to the other developer yet; I'd like to have some idea of what's possible/what I need to do first.
Thanks.
Another option may be to just include() [php.net] the content you want from the remote server.
If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), you can specify the file to be included using a URL (via HTTP or other supported wrapper ...
I noticed you are missing the ending quotation mark. Also, you may want to try using full tags rather than the short open tags.
<?php include 'http://www.server.com/page.asp' ?>