title: PHP file_get_contents error 503
body: <p>i get the error </p>
  
  <blockquote>
    <p>"503 Service Temporarily Unavailable"</p>
  </blockquote>
  
  <p>for my call with </p>
  
  <pre><code>$url = "https://www.okex.com/api/v1/ticker.do?symbol=ltc_btc";
    $page = json_decode(file_get_contents($url),true);
    var_dump($page);
  </code></pre>
  
  <blockquote>
    <p>PHP file_get_contents</p>
  </blockquote>
  
  <p>function but when i write the url directly into the browser i can see the page, do they block only the file_get_contents functions or how does this work? Because if they block my ip i could also not visit the site with my browser or?</p>
  
  <p>And this is a call to APi server which gives me json back.</p>