In PHP file upload, the $_FILES array contains keys like 'name', 'type', 'size', 'tmp_name', and 'error' which represent ______.

  • various attributes of the uploaded file
  • form field names
  • server configuration settings
  • session information
In PHP file upload, the $_FILES array contains keys such as 'name', 'type', 'size', 'tmp_name', and 'error'. These keys represent different attributes of the uploaded file. 'name' represents the original name of the file, 'type' represents the MIME type, 'size' represents the file size in bytes, 'tmp_name' represents the temporary file name/location on the server, and 'error' represents any error status associated with the file upload.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *