title: simplexml_load_file() not working when trying to load intranet RSS
body: <p>I'm trying to load a wordpress RSS feed using simplexml_load_file and failing.</p>
  
  <p>I have a PHP script that lives on our internal web server (intranet) and a wordpress blog that lives on intranet/newsletter. I'm trying to pull the RSS feed from the blog into our intranet using the following code ad failing:</p>
  
  <pre><code>$rss = simplexml_load_file('intranet/newsletter/feed/');
  </code></pre>
  
  <p>This is the error I get:</p>
  
  <blockquote>
    <p>Warning: simplexml_load_file(): I/O warning : failed to load external
    entity "intranet/newsletter/feed/" in /var/www/html/intranet/test.php
    on line 69</p>
  </blockquote>
  
  <p>I've tried using </p>
  
  <pre><code>$rss = simplexml_load_file('http://intranet/newsletter/feed/');
  </code></pre>
  
  <p>with no success.</p>
  
  <p>From a browser intranet/newsletter/feed/ works fine.</p>