Which PHP superglobal is used to retrieve information about files uploaded via an HTTP POST request?

PHP Intermediate Easy

PHP Intermediate — Easy

Which PHP superglobal is used to retrieve information about files uploaded via an HTTP POST request?

Key points

  • $_FILES stores file upload metadata
  • Form must have enctype='multipart/form-data'
  • $_POST does not contain file data

Ready to go further?

Related questions