<?php session_start(); ?> <?php include('class.captchazo.inc'); ?> <?php unset($_SESSION['captchazo']);
$oCaptcha = captchazo_sel('texto');
$oCaptcha->sDirectorio = false; $oCaptcha->aCaracteres = array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','p','q','r','s','t','u','v','w','x','y','z',1,2,3,4,5,6,7,8,9,0,'!','?','@','#','+','-','*','/','=','$','%','&'); $oCaptcha->iAncho = 100; $oCaptcha->iAlto = 50; $oCaptcha->generar();
$_SESSION['captchazo'] = $oCaptcha->sRespuesta; //texto que ha de responder el usuario
|