Help for this page

Select Code to Download


  1. or download this
    CREATING A FILE UPLOAD FIELD
    ...
    ...
    When the form is processed, you can retrieve the entered filename by c
    +alling param():
    
    $filename = param('uploaded_file');
    
  2. or download this
    The filename returned is also a file handle...
    
    ...
                   while ($bytesread=read($filename,$buffer,1024)) {
                      print OUTFILE $buffer;
                   }