Rather than have numerous copies of the same article on several websites, I would like to store the content of the articles on one domain and call that content with php from other domains, something like this:
[code]
<?php require_once(“../includes/header.php”); ?>
<?php include(“http://www.othersite.com/library/article-content.txt”); ?>
<?php require_once(“../includes/footer.php”); ?>
When I try this, I get:
[quote]
Warning: include() [function.include]: Failed opening ‘
Line 10 is
[code]<?php include(“http://www.othersite.com/library/article-content.txt”); ?>
If this is difficult to accomplish, what about storing the article content in mySql?