When I try to upload more than 20 files at a time, then the web server see only first 20. Any other files are just ignored. What is the problem?
Simple code to try:<
You might be running into post_max_size or upload_max_filesize setting limitations.
You can change them in php.ini (post_max_size should be larger than upload_max_filesize)
Set the max-file-uploads setting higher (yes, it's a 'newish' setting).
It's PHP_INI_SYSTEM, so it can either be set in php.ini or webserver/apache configuration. No .htaccess
or 'in-script' access I'm afraid.