/fuelphp_recaptcha

Re-Captcha Package for FuelPHP Framework

Primary LanguagePHP

FuelPHP Re-Captcha Package

Re-Captcha Package for FuelPHP Framework

Usage

For HTML Output of Captcha:

	// Check given captcha
	$response = Recaptcha::check_answer();
	
	if( $response->is_valid )
	{
		// Do anything
	}
	else
	{
		$error = $response->error;
	}
	
	// HTML Output:
	echo Recaptcha::get_html($error);

Configuration

You must set your private and public keys into config file on config/recaptcha.php

	return array(
		"public_key" 	=> "",
		"private_key"	=> ""
	);