title: Recaptcha Not Verifying with file_get_contents
body: <p>Confused as to why this isn't working. When the form is submitted I get the error message, meaning my recaptcha verification has failed.</p>
  
  <p>From my form:</p>
  
  <pre><code>&lt;div class="g-recaptcha" data-sitekey="(site-key)"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>PHP:</p>
  
  <pre><code>if(isset($_POST['g-recaptcha-response'])){
        $captcha=$_POST['g-recaptcha-response'];
      }
  
  $secretKey = "(secret-key)";
  $response = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=".$secretKey."&amp;response=".$captcha);
  $responseKeys = json_decode($response,true);
  if(intval($responseKeys["success"]) === true) {
      echo '&lt;h3&gt;Thanks for your message!&lt;/h3&gt;';
  } else {
      echo '&lt;h3&gt;Error&lt;/h3&gt;';
      }
  </code></pre>