[UPHPU] upload_max_filesize
Brandon Stout
bms at mscis.org
Wed Jan 3 08:40:16 MST 2007
Brandon Stout wrote:
> I'd try post_max_size:
>
> http://www.php.net/manual/en/ini.core.php
>
>
>> Sets max size of post data allowed. This setting also affects file
>> upload. To upload large files, this value must be larger than
>> upload_max_filesize.
>>
>> If memory limit is enabled by your configure script, memory_limit also
>> affects file uploading. Generally speaking, memory_limit should be
>> larger than post_max_size.
>>
>> When an integer is used, the value is measured in bytes. You may also
>> use shorthand notation as described in this FAQ.
>>
>> If the size of post data is greater than post_max_size, the $_POST and
>> $_FILES superglobals are empty. This can be tracked in various ways,
>> e.g. by passing the $_GET variable to the script processing the data,
>> i.e. <form action="edit.php?processed=1">, and then checking if
>> $_GET['processed'] is set.
I just noticed another quotable on the same page:
> Manu
> 27-Jul-2005 05:02
> Warning, if you change upload_max_filesize, please note that both
> post_max_size and memory_limit directives may have to change too.
Brandon Stout
http://mscis.org
More information about the UPHPU
mailing list