is there a way in PHP to set the max size of a single POST variable (not the whole POST size as we do with post_max_size
)?
EDIT: I was looking for a way to limit the size of a single POST param, not the whole POST. But it seems that you can't do that in PHP and you have to use post_max_size
(therefore you set the limit of the whole POST).