title: get around allow_url_include=0 error
body: <p>I am trying to include a file from a url, however I get the following error thrown up.</p>
  
  <pre><code>Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /Applications/MAMP/htdocs/diningtime/testsite/salims/index1.php on line 58
  
  Warning: include(http://localhost/diningtime/templates/100/index.php): failed to open stream: no suitable wrapper could be found in /Applications/MAMP/htdocs/diningtime/testsite/salims/index1.php on line 58
  
  Warning: include(): Failed opening 'http://localhost/diningtime/templates/100/index.php' for inclusion (include_path='.:/Applications/MAMP/bin/php/php5.4.4/lib/php') in /Applications/MAMP/htdocs/diningtime/testsite/salims/index1.php on line 58
  Test
  </code></pre>
  
  <p>Just wondering if there is anyway around this?</p>
  
  <p>My PHP include code is </p>
  
  <pre><code>&lt;?php include "$location/index.php"; ?&gt;
  </code></pre>
  
  <p>I appreciate your help on this.</p>