Afraid that doesn’t do me any good.
I’ve tried before setting the upload_max_file size smaller than post_max_size which you would think would cancel the connection and report the upload_max_file size exceeded error before post_max_size was reached but it seems so long as the file being uploaded is at least the size of post_max_size then post_max_size is triggered and all $_POST information wiped out even if upload_max_file size lower...
User Profile
Collapse
-
How to detect if post_max_size triggered?
Hi all, I’m creating a site that allows file uploads to registered users. I’ve got a system in place where if the user uploads a overly large file that it would automatically warn them off the offence and keep a record of it, if it was way over the file size limit I allow for (naturally the file is destroyed as well). If they continued to try to upload large files they would receive a temp ban. This relies on the system being able to...
No activity results to display
Show More
Leave a comment: