A library to make file uploading easy.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
lib
README.md
uploadtest.pl
uploadtest_multi.pl

README.md

perl-file-upload

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.

The file /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.