Ver Mensaje Individual
  #5 (permalink)  
Antiguo 27/09/2007, 04:39
informa
 
Fecha de Ingreso: noviembre-2005
Mensajes: 86
Antigüedad: 18 años, 5 meses
Puntos: 0
Re: Actualizar un captcha

Cita:
Iniciado por miczoe Ver Mensaje
podrias poner el fomu con captcha? hace rato que intento algo asi y no me sale.
Segun he provado en firefox siempre dan problemas
Aquí lo tienes. Lo copie de Internet, pero siento no poder poner los créditos del autor, porque hace mucho tiempo que lo obtuve y luego lo modifiqué bastante, pero seguro que si lo buscas lo podrás encontrar en www.hotscripts.com:


<html>
<head>
<script>
function actucap(){
obj=document.getElementById("cap");
if (!obj) obj=window.document.all.cap;
if (obj){
obj.src="captcha.php";
}
}
</script>
</head>
<body>
<form method="post" action="comprobar_captcha.php">
<p>Nombre / Nick: &nbsp; <input type="text" name="nombre"></p>
<p>Email: &nbsp; <input name="email" type="text" size="45"></p>
<p>Asunto: &nbsp; <input name="asunto" type="text" size="60"></p>
<p>Mensaje:</p>
<p><textarea name="mensaje" cols="80" rows="10"></textarea></p>


<p>Código de seguridad: &nbsp; <img id="cap" name="cap" src="captcha.php"><a href="javascript: actucap();">Cambiar</a></p>
<p>Repite el Código de seguridad: &nbsp; <input type="text" name="CAPTCHA_CODE" style="width: 50px;"></p>


<p style="padding-top: 5px;"><input type="submit" name="enviar" value="Enviar Mensaje">
<input type="reset" name="enviar" value="Borrar datos"></p>
</form>
</body>
</html>