Hey There
I have rewritten the php plugin for ReCaptcha. The new Version is oop and uses
curl for requests. It can handle a proxy and has an easy method for new users
to implement the class.
The ReCaptcha is testet by me on a non-proxy and on a proxy server. The
MailHide-functions have not been tested by me!
Example:
<?
$public = '';
$private = '';
$recaptcha = new ReCaptcha($public, $private);
$response = $recaptcha->autoCheckAnswer('post'); //or get
if ($response === null) {
//no request fired
} else if ($response->isValid()) {
//request valid
} else {
//request invalid
}
?>
Example with proxy:
<?
$public = '';
$private = '';
$recaptcha = new ReCaptcha($public, $private, '0.0.0.0', 80);
?>
I didnt find another place to post my class, so i posted it here. Please
contact me if you have questions.
Best Wishes
Chris
Original issue reported on code.google.com by wuethric...@gmail.com on 22 Jun 2012 at 10:13
Original issue reported on code.google.com by
wuethric...@gmail.com
on 22 Jun 2012 at 10:13Attachments: