![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
28/02/2013, 09:39
|
| | Fecha de Ingreso: abril-2003
Mensajes: 260
Antigüedad: 21 años, 10 meses Puntos: 1 | |
Respuesta: Problema chexbox y formulario prueba lo siguiente stone...
<form action="pagina.php" method="post">
<input name="acepto" type="checkbox" value="si" />
Acepto los terminos del contrato
<input name="descargar" type="submit" id="descargar" value="Descargar" />
</form>
<?php
if ($_POST['acepto']=='si') {
echo "<META HTTP-EQUIV='Refresh' CONTENT='0;URL=modal.zip'>";
}else{
echo "";}?>
__________________ Bye! |