Re: RE : Re: [PHP-DEV] [PATCH] Add option to disable POST data processing
| From: | Tjerk Meesters | Date: | Wed, 08 Dec 2010 00:45:56 +0000 |
| Subject: | Re: RE : Re: [PHP-DEV] [PATCH] Add option to disable POST data processing | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50908@lists.php.net to get a copy of this message | ||
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.allaert@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.on@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/...