Help for this page

Select Code to Download


  1. or download this
    <input type="file" name="file1">
    
  2. or download this
    my $filename = $cgi->param('file1');
    
  3. or download this
    my $fh = $cgi->upload('file1');
    
  4. or download this
    my $content_type = $cgi->uploadInfo($filename)->{'Content-Type'};
    
  5. or download this
    upload_file('file1');
    upload_fiel('file2');
    
    sub upload_file {
       my ($param_name) = @_;