title: New Google Recaptcha - PHP not executing
body: <p>I'm a PHP noob and I am trying to incorporate the new google recaptcha into a site.  There is a form in the html doc that calls on a "sendemail.php" file (code below).  The problem is that the form is working, regardless of whether or not the recaptcha done properly by the user.  In my code, it will always execute "codeB", regardless of users' failure to complete the recaptcha.</p>
  
  <p>What am I screwing up?</p>
  
  <pre><code>&lt;?php
  $captcha=$_POST['g-recaptcha-response'];
  $response=file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=##########11&amp;response=".$captcha."&amp;remoteip=".$_SERVER['REMOTE_ADDR']);
  if($response.success==false)
  {
      //codeA that I want to execute if the recaptcha fails
      echo '&lt;p&gt;Please Go Back And Try Again&lt;/p&gt;';
  }
  else
  {
      //codeB that I want to execute upon success of the recaptcha
  }
  ?&gt;
  </code></pre>