Page 1 of 1

How to get the size of a file that exceeds post_max_size

Posted: Mon Jun 30, 2008 8:59 pm
by deezerd
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

Re: How to get the size of a file that exceeds post_max_size

Posted: Mon Jun 30, 2008 11:34 pm
by John Cartwright
Unfortunately, no.

Re: How to get the size of a file that exceeds post_max_size

Posted: Tue Jul 01, 2008 3:05 am
by deezerd
Just wanted to be sure, thanks :)