How to control INPUT TYPE = "FILE" to show only one type of files

liunx

Guest
Hi,<br />
<br />
I would like to know about how to control only one set of files to be displayed (for example .JPG, .GIF, .BMP etc) using HTML code <INPUT TYPE="FILE" ...>.<br />
<br />
Request anyone to help me out in this regard asap.<br />
<br />
Thanks and Regards,<!--content-->What are you using to code this? PHP? ASP? Perl? CGI? Javascript?<!--content-->Do you mean a file type filter? Like when you click "Browse...", the browse dialog lets you choose only files of a specified file type?<!--content-->you can only control this with serverside language after the user presses submit on the form.<br />
<br />
you cannot control what file they select in that file input box.<!--content-->
 
Back
Top