RE: [PHP-DEV] Fwd: [PHP] upload_max_size vs. post_max_size
| From: | Mike Robinson | Date: | Mon, 13 Nov 2000 14:30:29 +0000 |
| Subject: | RE: [PHP-DEV] Fwd: [PHP] upload_max_size vs. post_max_size | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37909@lists.php.net to get a copy of this message | ||
Hello,
Andi Gutmans wrote:
> Yes I already found it with cvsweb.
> I prefer not having both of these options but just one.
> Language wise it makes more sense to keep the post_max_size directive
> because it includes everything and not only file uploads but as
> people have
> always used upload_max_size it might be better to keep the old name.
> Also the main question is if it is better to only have one option. They
> actually aren't completely the same. The post_max_size checks the
> content_length and makes sure it's not longer than the directive, the
> upload_max_size is checked in rfc1867.c to see if the uploaded
> file doesn't
> exceed a certain size.
> At least to me it's not obvious how to deal with it.
> Discussion?
Both are useful. I guess it can be confusing, but thats why we
have documentation. :)
IMHO, keep both, and document them in detail.
Regards
Mike Robinson