Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: CGI, uploading multiple files

by huck (Prior)
on Mar 13, 2017 at 21:55 UTC ( #1184484=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
         eval { 
              open (OUTFILE,">$upload_folder/$upload") or die $!;;
    ...
             close OUTFILE; 
             }; 
         print 'error:'.$@.'<br>' if $@;
    
  2. or download this
    my @files = $q->param('multi_files');
    my @io_handles=$q->upload('multi_files');
    ...
            print "<b>Guess it's broken</b><br/>";
        }
    }
    
  3. or download this
    my $type       = $q->uploadInfo( $upload_file )->{'Content-Type'};
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1184484]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-10-25 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?