View Single Post
Old 04-11-2005, 12:55 PM  
crockett
in a van by the river
 
crockett's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 76,806
SSI and PHP includes

I'm trying to include a webpage file on some of my sites. The site hosting the file is on one server, but the site I want to include the file on is on another server.

I've tried the standard SSI include of <!--#include file="http://www.myurl.com/includes/bahbahh.html"-->

I've also tried setting up the page as a PHP page and using PHP includes for example.. <?php require("http://www.myurl.com/includes/bahbahh.html"); ?>

neither seem to work.. I assume it's because the sites aren't on the same server. Is there anyway to make this work?
__________________
In November, you can vote for America's next president or its first dictator.
crockett is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote