Reputation: 3090
I want to upload 50 files at the same time (well, a clients wants this 'amazing feature'). However, PHP only processes the first 20 form fields; after that, they just do not exist for PHP.
I've had this problem before but did not document properly how to solve it. I believe it's a PHP setting, but I can not find it.
Upvotes: 1
Views: 672
Reputation: 14752
In php.ini, change max_file_uploads = 20
to whatever value you need.
Common Pitfalls for file upload in PHP
Upvotes: 6
Reputation: 57316
You need max_file_uploads
setting in your php.ini file. Also do check the upload_max_filesize
and pos_max_size
settings, to be safe :)
Upvotes: 1