Talking about the reason why $_FILES array is empty

  • 2021-07-21 07:15:04
  • OfStack

Today, when uploading files, print $_files is always empty, and check the following information.

It was found that max_file_uploads=0 knew the reason


file_uploads = On
upload_max_filesize = 20M
max_file_uploads = 20

Related articles: