in reply to Set File Upload Extension With CGI.PM
The only other possibility is that a client-side scripting language or componenet (JavaScript, applet, ActiveX control) will let you access the filetype filter. I don't find that likely, but web browsers do some spectacularly useless things that, occasionally, come in handy.print start_multipart_form, filefield(-name => 'upload', -size => 60, -accept => 'image/*',), br, submit(-label => 'Upload File'), end_form;
|
|---|