Question:Discuss five predefined subscript of of $_FILES super global variable?
Answer
$_FILES[‘upload-name’][‘’name]: The name of the file as uploaded from the client to the server.
$_FILES[‘upload-name’][‘type’]: The MIME type of the uploaded file.
$_FILES[‘upload-name’][‘size’] :The byte size of the uploaded file.
$_FILES[‘upload-name’][‘tmp_name’] : Once uploaded, the file will be assigned a temporary name before it is moved to its final location.
$_FILES[‘upload-name’][‘error’]: An upload status code. Despite the name, this variable will be populated even in the case of success.
+ Report
Discuss five predefined subscript of of $_FILES super global variable?