git
May 16th, 2002, 11:57 PM
Hiyas,
I'm trying to look for some Perl/CGI code which can upload files via a form. I've checked cgi-resources.com, but a lot of the scripts there were for submitting files via a form to be emailed or something like that. All I'm looking for is simple code that can get a file (or files) from a form, check the file size(s), and save the file(s) to the server.
I've also found some code that does this but uses a Perl module (I think that's what they're called - I don't know much Perl yet), in a seperate file, but I'm after code which is kept entirely within the one file/script.
Can anyone help? I'd really appreciate if I could get some help with this!
Thanks.
-Git
I'm trying to look for some Perl/CGI code which can upload files via a form. I've checked cgi-resources.com, but a lot of the scripts there were for submitting files via a form to be emailed or something like that. All I'm looking for is simple code that can get a file (or files) from a form, check the file size(s), and save the file(s) to the server.
I've also found some code that does this but uses a Perl module (I think that's what they're called - I don't know much Perl yet), in a seperate file, but I'm after code which is kept entirely within the one file/script.
Can anyone help? I'd really appreciate if I could get some help with this!
Thanks.
-Git