title: Equivalent function for file_get_contents()?
body: <p>I want to parse some information out of a html page.
  Currently I solve the problem like this:</p>
  
  <pre><code>header("Content-type: text/plain");    
  $this-&gt;pageSource = file_get_contents ($this-&gt;page);
  header("Content-type: text/html");
  </code></pre>
  
  <p><code>$this-&gt;page</code> is the url of the website.
  This works fine on XAMPP, but when I upload my script on my webserver, I get the following error message:</p>
  
  <blockquote>
    <p>Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0</p>
  </blockquote>
  
  <p>So obviously I am not allowed to execute that function on my webserver.</p>
  
  <p>So is there an equivalent function to solve my problem?</p>