title: Sharing a file between multiple virtualhosts
body: <p>I have a couple domains (each one has its own virtual host) that use and I have a list of users I block from the domains by IP This is how I currently check the list for an IP on every single virtual host :</p>
  
  <pre><code>file("../checkip.txt", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES)
  </code></pre>
  
  <p>Instead of uploading the same exact file to every single domain I have, is it possible for me to use something like :</p>
  
  <pre><code>file("http://maindomain.com/checkip.txt", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES)
  </code></pre>
  
  <p>That way I can continue to update only one file and use that unique file across multiple domains, or does the file have to be on the same domain?</p>
  
  <p>If the way I'm trying to do this doesn't work, is there anything else I can do to pull the IP Addresses from one file in one location?</p>