title: Php Include from another Domain
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2752783/including-php-file-from-another-server-with-php">including php file from another server with php</a>  </p>
  </blockquote>
  
  
  
  <pre><code> &lt;?php include('http://www.staticimages.co/legal-documents/fonts.php');?&gt;
  </code></pre>
  
  <p>I'm trying to centralize a file that I will include in a few different domains.
  I've got a location but I'm unsure how to include the file.
  I've tried the above (which is the correct URL) but I get the following errors;</p>
  
  <p>Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in C:\wamp\www\flirtwithme.co\includes\legal\dating-safety-tips.php on line 15</p>
  
  <p>Is there a preferred way to do this?
  Maybe CURL?</p>
  
  <p>thx</p>