A library to make file uploading easy.
Working demo with more than one file select field here: http://www.jimmelanson.ca/cgi-bin/programming/examples/uploadtest.pl
Working demo with one file field and the "multiple" attribute applied http://www.jimmelanson.ca/cgi-bin/programming/examples/uploadtest_multi.pl
Blog post explaining the .lib file here: https://jimmelanson.ca/programming/2017/10/11/perl-file-uploads-simplified/
The two files in
/css are needed for the two demo scripts to display properly.
/lib/upload.lib is the magic that makes it all work for you. Make sure you view the ReadMe before implementing. It tells you how to call the subroutine for multiple individiual file fields or for file fields with the "multiple" attribute.