Help for this page

Select Code to Download


  1. or download this
           CREATING A FILE UPLOAD FIELD
    
    ...
                   while ($bytesread=read($filename,$buffer,1024)) {
                      print OUTFILE $buffer;
                   }
    
  2. or download this
               The POST method also supports the `multi-
               part/form-data' content used for Form-based File
    ...
               $file will be used.  You can specify an empty string
               as $filename if you don't want any filename in the
               request.