Forum Moderators: coopster

Message Too Old, No Replies

How to get the size of a file that exceeds post max size

         

DeezerD

1:59 am on Jul 1, 2008 (gmt 0)

10+ Year Member



Hi

I would like to know if there is some function that returns the size of a file that would be sent in a form with the POST method and whose size would exceed the post_max_size value in the php.ini file.

As $_FILES doesn't return anything if the file size exceeds post_max_size, how can we still get the size of the file sent? Is there any function to do so?

thanks in advance for your help

henry0

11:37 am on Jul 1, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check that thread [webmasterworld.com]
the idea of tracking the error from Apache might be a good idea
I'll like to see what others could have in mind :)