Location: PHPKode > projects > Banshee PHP Framework > controllers/demos/captcha.php
<?php
	class demos_captcha_controller extends controller {
		public function execute() {
			$this->output->title = "Captcha demo";

			if ($_SERVER["REQUEST_METHOD"] == "POST") {
				$this->output->add_tag("valid", show_boolean(valid_captcha_code($_POST["code"])));
			}
		}
	}
?>
Return current item: Banshee PHP Framework