Re: [PATCH] Add option to disable POST data processing

From: Date: Tue, 07 Dec 2010 12:37:35 +0000
Subject: Re: [PATCH] Add option to disable POST data processing
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-50896@lists.php.net to get a copy of this message
On Tue, Dec 7, 2010 at 1:01 PM, Derick Rethans <derick@php.net> wrote: > On Tue, 7 Dec 2010, Gustavo Lopes wrote: > > > The very simple attached patch adds an option to disable POST data > > processing, which implies the data can only be read in > > a stream fashion through php://input. > > Does without this patch, reading POST data from php://input work? > yep. you will get the raw post data with this. same as $HTTP_RAW_POST_DATA the only difference, that the latter isn't always available. > > > This introduces a new ini setting, disable_post_data_processing, but > > it's a benign one. No incompatibilities between setups will arise > > because no one will enable it globally (it would be insane), > > Because they can, people will do it though... I'm not fan of more ini > settings. > so because in the past ini settings was abused,we won't add ini settings ever? Tyrael

« previous php.internals (#50896) next »