'foo', 'wordLen' => 6, 'timeout' => 300, )); if (!empty($_POST)) { if ($captcha->isValid($_POST['foo'], $_POST)) { // Validated! } } $id = $captcha->generate(); ?>
render($view); ?>