Re: $HTTP_RAW_POST_DATA
| From: | Rasmus Lerdorf | Date: | Sat, 09 Nov 2002 22:14:49 +0000 |
| Subject: | Re: $HTTP_RAW_POST_DATA | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90718@lists.php.net to get a copy of this message | ||
Yes, it has to be a POST request for there to be post data and
$HTTP_RAW_POST_DATA is populated if the mime type of the data is
unrecoginized or if always_populate_raw_post_data is on.
On Sat, 9 Nov 2002, Kjartan Mannes wrote:
> Wednesday, August 28, 2002, 3:15:13 PM, abdul-kareem.abo-namous@email.de wrote:
> > is $HTTP_RAW_POST_DATA only filled if REQUEST_TYPE is set to POST?
> > even if 'always_populate_raw_post_data = On'? does anyone have a short
> > info on this? rasmus maybe?
>
> I to would like know when $HTTP_RAW_POST_DATA is supposed to be set. I
> recently upgrade from 4.2.3 to 4.3.0-dev and one of my scripts stopped
> working as $HTTP_RAW_POST_DATA wasn't set when data was POSTed. To fix
> this I had to turn always_populate_raw_post_data on. Any documentation
> on this variable should work?
>
> --
> Kjartan <kjartan@zind.net> (http://natrak.net/)
> :: "Scandisk is now checking your hard disk. You can start
> praying."
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>