'captcha' => array( 'class' => 'CCaptchaAction', 'backColor' => 0xFFFFFF, // background color 'foreColor' => 0x000000, // font color 'transparent' => false, // background transparent 'testLimit' => 1, // how many times should the same CAPTCHA be displayed 'minLength' => 6, // min length of generated word 'maxLength' => 7, // max length of generated word 'width' => 100, // width of the CAPTCHA image 'height' => 50, // height of the CAPTCHA image 'offset' => -2, // space between characters 'padding' => 4 // padding around the text ),
YII CAPTCHA Options
We can customize the YII CAPTCHA by using its options.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment