function actionShowCaptcha() { // include captcha lib YDInclude('YDCaptcha.php'); // create captcha object $captcha = new YDCaptcha(); // $captcha->useColour( true ); // $captcha->setNumChars( 3 ); // return image return $captcha->Create(); }
function actionShowCaptcha() { // include captcha lib YDInclude('YDCaptcha.php'); // Create captcha object $captcha = new YDCaptcha(); $captcha->_img->SetCharSet("2-4,6,8-9,2-4,6,8-9"); // Return the image return $captcha->Create(); }