PHP - Read file on foreign server?
<p>I need to read a file on a foreign server.</p>

<p><strong>Apart from cURL and <code>file_get_contents()</code> are there any other ways to read the file using PHP?</strong></p>

<p>This needs to be deployed on a variety of servers and some servers we are deploying to are really cheap shared hosts. These often have configurations that disable either or both of these methods.</p>

<p>The file I need to get is an XML file if that makes any difference.</p>
