Skip to content
Fuel package to handle reCAPTCHA
PHP
Pull request Compare This branch is 2 commits ahead of pwrhead:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
classes
config
views
README.md
bootstrap.php

README.md

ReCaptcha

ReCaptcha is a Fuel package that handles calling reCAPTCHA.

Usage

To get captcha html:

$captcha_html = ReCaptcha::instance()->get_html();

To validate user entry:

if (ReCaptcha::instance()->check_answer(Input::real_ip(), Input::post('recaptcha_challenge_field'), Input::post('recaptcha_response_field')))
{
    // valid
}
else
{
    // invalid
}
Something went wrong with that request. Please try again.