ldoozer Posted January 27, 2008 Share Posted January 27, 2008 Hello, I am trying to roll out about 10 websites that are all the same appart from some area specific information local to the site. here's my thinking. If i know the majority of the content will be the same over all the sites and I want to keep them all up to date, is it the right way to go bout this using <?php include('http://somedomain/homepage.php'); ?> in each site to call in content from a central area ie another server? Quote Link to comment Share on other sites More sharing options...
mem0ri Posted January 27, 2008 Share Posted January 27, 2008 Depends on your personal goals with each of the 10 sites, the performance hit you're willing to take in loading from a separate server (and whether that server is in the same datacenter or across the world will play a factor there), the security settings of each site (some server-configs won't allow remote-file loading), and whether or not you're willing to have all 10 sites go down at once if your 'main' server goes down. Quote Link to comment Share on other sites More sharing options...
ldoozer Posted January 28, 2008 Author Share Posted January 28, 2008 Thank you very much for that advise, all really important points. I will look in to those questions and report back. Quote Link to comment Share on other sites More sharing options...
ldoozer Posted January 28, 2008 Author Share Posted January 28, 2008 Forgot to say, can you suggest an alternative way of sharing content Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted January 28, 2008 Share Posted January 28, 2008 well you can include it the way you specified however to be noted that it will include the output of that script... and not the script code... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.