title: file_get_contents() fails on specific urls with: failed to open stream: HTTP request failed! HTTP/1.0 429
body: <p>I am trying to use the Steam API but whenever I use a file_get_contents() with the Steam Community URL I get this error:</p>
  
  <pre><code>Warning: file_get_contents(http://steamcommunity.com/market/priceoverview/?currency=1&amp;appid=578080&amp;market_hash_name=Gas%20Mask): failed to open stream: HTTP request failed! HTTP/1.0 429
  </code></pre>
  
  <p>If I use file_get_contents() on Google.com, for example, it returns the page without an error. I have tried to use curl which just returns random characters. Here is the code I used:</p>
  
  <pre><code>// create curl resource 
  $ch = curl_init(); 
  
  // set url 
  curl_setopt($ch, CURLOPT_URL, "http://steamcommunity.com/market/priceoverview/?currency=1&amp;appid=578080&amp;market_hash_name=Gas%20Mask"); 
  
  //return the transfer as a string 
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
  
  // $output contains the output string 
  $output = curl_exec($ch);
  
  // close curl resource to free up system resources 
  curl_close($ch);
  
  echo $output;
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>��+��O��%
  </code></pre>