form, transfering file question

liunx

Guest
hello, how can i make <input type="file"> to accept only *.zip *.html *.doc *.txt *.gif,jpg,png (picture files)??<br />
<br />
and does anybody here know using jsp javax mail to send this attachment to an email??<br />
<br />
thanx a million guys.... :)<!--content-->You want to write a function that validates the uploaded fiels path and makes sure it does not end with other then the allowed types<!--content-->ouw, validation using javascript<br />
i though <input type="file" accept="i don't know what to write here"> can do that<br />
<br />
okay thanxx i would do that :)<!--content-->
 
Back
Top