Re: $HTTP_RAW_POST_DATA
| From: | Philip Olson | Date: | Sun, 10 Nov 2002 22:43:41 +0000 |
| Subject: | Re: $HTTP_RAW_POST_DATA | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90744@lists.php.net to get a copy of this message | ||
On Sun, 10 Nov 2002, Rasmus Lerdorf wrote:
> Hrm.. Ok, actually Hartmut changed this recently. See:
>
>
> http://cvs.php.net/diff.php/php4/main/php_content_types.c?login=2&r1=1.21&r2=1.22&ty=u
>
> It works when you turn on always_populate_raw_post_data, right?
When setting this on I assume it will always populate no matter
what enctype is used. This isn't the case. In the little tests
according to Brad, adding enctype="multipart/form-data" to a
post form will cause $HTTP_RAW_POST_DATA to not exist. This is
even with aways_populate_raw_post_data = on.
Until this is figured the documentation won't be updated and
imho this directive is considered broke. I am unable to test
cvs php module at this time nor am I a HTTP expert. I tested
on 4.2.3 and the above behavior exists. Shouldn't always mean
always? I'm unable to confidently decipher that diff.
Regards,
Philip