File Upload Global Variables : File Upload « File Directory « PHP

File Upload Global Variables

Variable Name       Contains                                       Example
$fupload            Path to temporary variable                     /tmp/phptemp

$fuploadname        Name of uploaded file                          yourfile.gif

$fuploadsize        Size (in bytes) of uploaded file               835

$fupload type      MIME type of uploaded file                      image/gif


Related examples in the same category

1.Save Upload File to a new directory
2.Upload PDF file and rename it
3.HTML form with a file input tag
4.A File Upload: path, file name, size and type