![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
07/02/2008, 11:21
|
| | Fecha de Ingreso: junio-2006
Mensajes: 126
Antigüedad: 18 años, 7 meses Puntos: 0 | |
Re: Como hacer que el boton input file sea submit? Lo que puso Karlankas ya lo logre hacer.
ARCHIVO: formulario.php
<script language="javascript">
function submit(boton)
{
document.Individuos.boton.action = "previsor.php";
document.Individuos.boton.submit();
}
</script>
<input type="file" size="23" name="imagen"
style="border: 1px solid #FFFFFF; background:#9CBADE;
font-family: Arial; font-size: 12px; color: white" onChange="submit(this)"/>
ARCHIVO: previsor.php echo $_FILES["imagen"]["name"];
lo que esta como de color rojo no me funciona
a ver si me pueden ayudar |