I have a PHP script that allows users to upload numerous files. Unfortunately, my web hosting provider (1&1) has set a relatively small maximum file size limit in the php.ini file.
Currently, users receive no response when the files submitted exceed the maximum amount allocated to be stored at one time by 1&1. Is there a way in PHP where I can find out if files are rejected due to this matter and then output a response for that?
upload_max_filesizeis aPHP_INI_PERDIRdirective. You can tweak it to your liking.