title: file_get_contents and error codes
body: <p>I'm downloading a file from the web with <code>file_get_contents</code>.
  Sometimes I get <strong>503 Service Unavailable</strong> or <strong>404 Not Found</strong>.</p>
  
  <blockquote>
    <p>Warning: file_get_contents(http://somewhereoverinternets.com)
    [function.file-get-contents]: failed to open stream: HTTP request
    failed! HTTP/1.0 503 Service Unavailable in somesourcefile.php on line
    20</p>
  </blockquote>
  
  <p>How can I get this error code - 503 ? 404, 200?
  To make the process for these cases.</p>