captcha

reCaptcha Plugin v0.8.0

reCaptcha is a plugin for CakePHP 1.2 to allow the easy use of reCaptcha.net's captcha library.

It may not work under all circumstances, but it is currently used in several production sites.

Usage:
(in the controller)

  1. var $components = array(array('Recaptcha.Captcha', array(
  2. 'private_key' => PRIVATE_KEY_FROM_RECAPTCHA_DOT_NET,
  3. 'public_key' => PUBLIC_KEY_FROM_RECAPTCHA_DOT_NET)));
  4. var $helpers = array('Recaptcha.CaptchaTool');

(in the view)

  1. <?php echo $captchaTool->show(); ?>

Requires:

  • CakePHP 1.2
  • PHP >= 5.2
  • PECL json >= 1.2.0 (to use reCaptcha configuration options)
  • Keys from reCaptcha.net

© 2009 Jason Burgess
reCaptcha plugin is licensed under an MIT style license.

Syndicate content