title: Google reCAPTCHA not working at all on simple implement
body: <p>I have the html form looking like this:</p>
  
  <pre><code>&lt;form method="post" action="mail.php" name="contactform" id="contactform"&gt;
    &lt;div class="input-wrap"&gt;&lt;i class="fa fa-user-plus" aria-hidden="true"&gt;&lt;/i&gt;&lt;input name="name" type="text" id="name"  class="inputForm2" onClick="this.select()" value="Name" &gt;&lt;/div&gt;
    &lt;div class="input-wrap"&gt;&lt;i class="fa fa-envelope" aria-hidden="true"&gt;&lt;/i&gt;&lt;input name="email" type="text" id="email" onClick="this.select()" value="E-mail" &gt;&lt;/div&gt;
    &lt;textarea name="comments" id="comments" onClick="this.select()"&gt;Message&lt;/textarea&gt;
    &lt;div class="g-recaptcha" data-sitekey="--- SITE KEY FROM GOOGLE ---" style="float: right"&gt;&lt;/div&gt;
    &lt;textarea name="g-recaptcha-response" id="g-recaptcha-response" style="display: none"&gt;&lt;/textarea&gt;
    &lt;button type="submit" id="submit"&gt;&lt;span&gt;Send Message&lt;/span&gt;&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And I have the mail.php like this:</p>
  
  <pre><code>$url = 'https://www.google.com/recaptcha/api/siteverify';
  $secretkey = "--- SECRET KEY FROM GOOGLE ---";
  $response = file_get_contents($url."?sectret=".$secretkey."&amp;response=".$_POST['g-recaptcha-response']."&amp;remoteip=".$_SERVER['REMOTE_ADDR']);
  $data = json_decode($response);
  
  if(isset($data-&gt;success) AND $data-&gt;success == false){
      //error
      exit;
  }else{
      //success
  }
  </code></pre>
  
  <p>I just can't figure out where is the problem! If someone can help me out?
  If I <code>echo</code> the <code>$data</code> I always receive the  <code>{ "success": false, "error-codes": [ "missing-input-response", "missing-input-secret" ] }</code> indifferent if I check the captcha form or not. I don't know why is giving me in the displayed error, also, the <code>"missing-input-secret"</code> when I give to him the secret key...</p>