Help for this page

Select Code to Download


  1. or download this
      $lightweight_fh  = $q->upload('field_name');
    
      # undef may be returned if it's not a valid file handle
    ...
          print OUTFILE $buffer;
        }
      }
    
  2. or download this
           $filename = $query->param('uploaded_file');
           $tmpfilename = $query->tmpFileName($filename);