from what I can see it is because you have not set the "MIME TYPE" of file....like this <SCRIPT LANGUAGE="JavaScript"> <!-- function validar() { document.formulario.texto.value = "mi texto"; document.formulario.FILE1.value = "c:\rascacielos.jpg"; } //--> </SCRIPT> inside a web page like this: <form action="http://www.pppp.es/cgi_upload/upload.cgi" method="post" name="formulario" enctype="multipart/form-data" > <input type="File" name="FILE1" accept="(types of files to accept)"> <p> <input type="Submit" value="submit"> <p> <input type="button" value="cargar" onClick="validar()">Received on Tuesday, 11 March 2003 18:09:01 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:49:30 GMT