title: file_get_contents() give me 403 Forbidden
body: <p>I have a partner that has created some content for me to scrape.<br>
  I can access the page with my browser, but when trying to user <code>file_get_contents</code>, I get a <code>403 forbidden</code>.</p>
  
  <p>I've tried using <code>stream_context_create</code>, but that's not helping - it might be because I don't know what should go in there.</p>
  
  <p>1) Is there any way for me to scrape the data?<br>
  2) If no, and if partner is not allowed to configure server to allow me access, what can I do then?</p>
  
  <p>The code I've tried using:</p>
  
  <pre><code>$opts = array(
    'http'=&gt;array(
      'user_agent' =&gt; 'My company name',
      'method'=&gt;"GET",
      'header'=&gt; implode("\r\n", array(
        'Content-type: text/plain;'
      ))
    )
  );
  
  $context = stream_context_create($opts);
  
  //Get header content
  $_header = file_get_contents($partner_url,false, $context);
  </code></pre>