title: Display remote text file on php page
body: <p>I'm using this code now to display a text file on a php/html page.</p>
  
  <pre><code>&lt;?php
  foreach (glob("example.txt") as $filename) {
      echo nl2br(file_get_contents($filename));
      echo "&lt;br&gt;&lt;/br&gt;";
  }
  ?&gt;
  </code></pre>
  
  <p>I'm looking for a way to display the example.txt file from another server with URI. </p>
  
  <p>Something like this: <a href="http://address.com/dir/example.txt" rel="nofollow">http://address.com/dir/example.txt</a></p>
  
  <p>Is there a simple way to do this?</p>
  
  <p>(I would use an iframe but it's not possible to style the text without Java or JQuery).</p>