Jump to content

many sites calling in same content from another url using include()


ldoozer

Recommended Posts

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?

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.