Click to See Complete Forum and Search --> : Predefined file type for upload


mruiz
11-26-2006, 02:05 PM
i'm developing a web application where the user uploads file, but only zip files... Is there any way i can tell the <input type="file"> to only accept only zip files... i validate this with php in the action page but i don't want to have to post the file if i'm not going to save it

thanks in advance...

_Aerospace_Eng_
11-26-2006, 02:13 PM
No you can't at least not on the web. If you were using a .hta file maybe but I don't think you are.

mruiz
11-26-2006, 03:24 PM
ok, thanks for your quick anwser