title: file_get_contents Returns empty string, Minecraft API
body: <p>Hello I am trying to check if a user is premium or not via a php function. I am using the following code, yet the result is "Notch is not valid"</p>
  
  <p>Due to the fact that $auth is just an empty string, for some reason if you go to the url in your browser it will state "true" or "false" but when you use file_get_contents there is no string displayed.</p>
  
  <p>Thank you for the help!</p>
  
  <pre><code>&lt;?php
  $input = 'Notch';
  
    function checkPlayer($player) {
      $mcURL = 'http://www.minecraft.net/haspaid.jsp?user=';
      $auth = file_get_contents($mcURL . $player);
  if (trim($auth) == "true") {
        echo $player. ' is valid';
      } else {
        echo $player. ' is not valid';
      }
    }
  
    checkPlayer($input);
  
  ?&gt;
  </code></pre>