From an implementation standpoint it is utterly painless. The client side is copy/paste from Google's site and the PHP/server side was this:
$recapchaURL = 'https://www.google.com/recaptcha/api/siteverify?secret=600SZZ0ZZZZZIZi-ZZ0ZEHZW1000Z_0ZZZ00QZZ&response=' . request_var('g-recaptcha-response','') .'&remoteip=' . $request->server('REMOTE_ADDR'); $recapchaRespone = file_get_contents($recapchaURL); if(is_null($recapchaRespone)) { print("Recaptcha failed. <more error msg>"); return; } $recapchaResponeJSON = json_decode($recapchaRespone); if(!( !is_null($recapchaResponeJSON->{'success'}) && $recapchaResponeJSON->{'success'} == 'true')) { print("Recaptcha failed. <more error msg>"); return; }
From an implementation standpoint it is utterly painless. The client side is copy/paste from Google's site and the PHP/server side was this:
Most of the time it just gives you that one checkbox, but if you use the form multiple times (e.g. testing) it starts to give you the classical text entry box. I have no idea how it works fully and this article only sheds little light on it.