Hi,

Don't have much knowledge about the internal workings of the engine, but I'm
wondering if it's possible to apply "lazy loading" to the $_POST variable,
so that processing only happens if and when it's requested.

That way you wouldn't need the ini setting.
On Dec 8, 2010 7:54 AM, "Patrick ALLAERT" <patrick.alla...@gmail.com> wrote:
> It is not the goal to "block" but to prevent the usual processing of
$_POST
> when not required inside a valide POST request which will handle the input
> differently.
>
> Le 7 déc. 2010 23:36, "Tig" <tigger...@gmail.com> a écrit :
>
> If the objective is to 'block' POST data from getting to PHP, (in
> apache) you can use:
> http://httpd.apache.org/docs/2.0/mod/core.html#limit
>
> No need to change / add anything to PHP.
>
> -Tig
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/...

Reply via email to