$_FILE Elements : _FILES « HTML « PHP






$_FILE Elements

 
Element                         Contains                                Example
 
$ FILES['fupload']['name']      Name of uploaded file                   test.gif
 
$_FILES['fupload']['tmp_name']  Path to temporary file                  /tmp/asdfadsf
 
$_FILES['fupload']['size']      Size (in bytes) of uploaded file        6835
 
$_FILES['fupload']['error']     An error code corresponding to a PHP constant          UPLOAD_ERR_FORM_SIZE
 
$_FILES['fupload']['type']      MIME type of uploaded file (where given by client)    image/gif
  
  








Related examples in the same category

1.Keys Created for a File When Uploaded