Discussion Locked
0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
While uploading a GIF image via an ASP program,the dialog box that open should have file type specified as only GIF(*.GIF) image and not All files(*.*).What should i do to have the same?Can any body help?
3 replies
by jay eckles
You as the web author can't control the file dialog box that accompanies the file type input element in a web page. This is a security measure; if you could manipulate the file dialog, then you would be able to steal files off of clients computers without their knowledge. The best I can think of is you could write a signed applet and use it to upload the file instead of an HTML multi-part form.
Jay Eckles
www.jayeckles.com
Poster rated this answer
This question was closed by the author
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
Discussion Locked
What Makes a Business Website Effective in 2026
2 helpful
10 replies
1 helpful
3 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
Question Unanswered
Best Way to Make Long WordPress Location Guides Mobile Friendly
0 helpful
0 replies
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies