Código HTML:
<form enctype="multipart/form-data" action="GP1.php" method="POST" name="Gastos" id="Gastos" target="_blank" onsubmit="return validateForm()"> <fieldset> <label>Proyecto:<input type="text" size="20" name="Proyecto" placeholder="Proyecto"></label> <label>Inicio:<input type="date" size="20" name="LapsoI" placeholder="Inicio"></label> <label>Fin:<input type="date" size="20" name="LapsoF" placeholder="Fin"></label> </form> <br> <center> <input type="submit" value="Enviar informacion"> </center>
Código HTML:
<form enctype="multipart/form-data" action="filesnd1.php" method="POST" name="upfile" id="upfile" target="_blank" onsubmit="return validatefile()"> <fieldset> <input type="hidden" name="MAX_FILE_SIZE" value="300000"/> <input name="Comprofile[]" id="archfi" type="file" onChange='load_image(this.id,this.value)'/> <input type="submit" value="Subir archivos"> </fieldset> </form>