English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Discussion on the Reasons Why the $_FILES Array Is Empty

Today when I was doing file uploads, printing $_files was always empty, and I checked some information.

Found that max_file_uploads=0, knowing the reason

file_uploads = On
upload_max_filesize = 20M
max_file_uploads = 20

This brief discussion on the reasons for the empty $_FILES array is all the content I share with you. I hope it can serve as a reference for you, and I also hope that everyone will support the Yell Tutorial.

You May Also Like