Created
May 23, 2013 18:23
-
-
Save italoveloso/5638262 to your computer and use it in GitHub Desktop.
Recaptcha Zend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$recaptcha = new Zend_Service_ReCaptcha('6Ldxo8YSAAAAAD2Q1bc5PCqYA2TPef_wj1JDpmm0','6Ldxo8YSAAAAAOxFKB3hwN1f_3cEaeyMT646RL5X'); | |
$recaptcha->setOption('theme', 'clean'); | |
$captcha = new Zend_Form_Element_Captcha('captcha', | |
array('captcha' => 'ReCaptcha', | |
'captchaOptions' => array('captcha' => 'ReCaptcha', | |
'service' => $recaptcha))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment