Equivalent function for file_get_contents()?
<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>$this->page 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>

<p><strong>Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0</strong></p>

<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>

<p>Thanks a lot for any help.</p>
