title: How to open a remote resource with fsockopen and allow_url_fopen disabled, no socket (extension) support, and no cURL support?
body: <p>In a PHP application I wrote, I have to access a remote resource (i.e. URL) in all possible situations/server configurations. For that I have to consider any combination of configuration options.</p>
  
  <p>So my question is: how to open a remote resource with <code>fsockopen</code> and <code>allow_url_fopen</code> disabled, no socket (extension) support, and no cURL support?</p>
  
  <p>Is there any other alternative?</p>