Ver Mensaje Individual
  #6 (permalink)  
Antiguo 28/02/2013, 09:39
Pelao
 
Fecha de Ingreso: abril-2003
Mensajes: 260
Antigüedad: 21 años
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!