This repository has been archived by the owner on Oct 14, 2019. It is now read-only.
Simple Captcha Plugin for croogo and cakephp
License
rchavik/simple_captcha
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SimpleCaptcha Plugin Version 0.1 -------------------------------- An adaptation of Arvind K's Captcha component into a Croogo plugin. It should be straight forward to use this in a plain cakephp application as well. Eg: ```php // models/user.php class User extends AppModel { var $actsAs = array('SimpleCaptcha.Captcha'); var $helpers = array('SimpleCaptcha.Captcha'); } ``` ``` // controllers/users_controller.php class UsersController extends AppModel { var $components = array('SimpleCaptcha.Captcha'); } ``` ```php // views/users/register.ctp echo $this->Form->create('User'); echo $this->Form->input('name'); ... echo $this->element('captcha', array('plugin' => 'SimpleCaptcha')); ``` Good luck and have fun. -- rchavik
About
Simple Captcha Plugin for croogo and cakephp
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published