I'd like to be able to display the amount found in the LimitRequestBody value that is set in /etc/httpd/conf.d/php.conf. I know the default value is 524288 bytes or so, but what if the admin changes that value; my application is portable and could be in multiple environments where LimitRequestBody might have a different value?
I already have my settings in MAX_FILE_SIZE to handle maximum size; I even include a smaller local instance that I check server-side to ensure that it's (for now at) 100K. However, if the user attempts to upload anything more than 524288 bytes in size it will bomb out before it even gets to my redirection URL handling the error:
1) Mozilla Firefox: produces "Document contains no data" error alert client-side message
2) Konqueror: produces a local Konqueror error page with no error description
I thought it would be best since these seem to be handled from the client (thus, nothing I can do about everybody's client browsers) to display a message indicating that their browser will not accept an upload of more than $LimitRequestBody bytes in size.
Thanx
Phil