Q:
Explain $_FILES Superglobal Array.
Answer
Array Descriptions
-------------------------------- -----------------------------------
$_FILES['userfile']['name'] The original name of the file on the client machine.
$_FILES['userfile']['type'] The MIME type of the file if the browser provided
this information. An example would be "image/gif".
$_FILES['userfile']['size'] The size, in bytes, of the uploaded file.
$_FILES['userfile']['tmp_name'] The temporary filename of the file in which the
uploaded file was stored on the server.
$_FILES['userfile']['error'] The error code associated with this file upload.
View answer
Workspace
Report Error
Discuss