I dont use the script but think recaptcha changed there url to verify to this is from the curl version i use.
Code:
curl_setopt($ch, CURLOPT_URL, "https://www.google.com/recaptcha/api/siteverify");
it should say the url when you get a key to match your site. global keys will not work in recaptcha cause the key has to match the site.