Re: Trouble getting $HTTP_RAW_POST_DATA
| From: | John W. Holmes | Date: | Fri, 01 Aug 2003 12:33:16 +0000 |
| Subject: | Re: Trouble getting $HTTP_RAW_POST_DATA | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157925@lists.php.net to get a copy of this message | ||
Balazs Halasy wrote:
I need to have the contents of $HTTP_RAW_POST_DATA because of non-regular uploads (from browser to my home-made WevDAV server implementation (done in PHP)). However, no matter what I do, it is always NULL. I guess the following script should return SOMETHING in $HTTP_RAW_POST DATA if "always_populate_raw_post_data = On" is added to the php.ini file (and yes, I've restarted apache :-)... so, why is it empty and how can I get the RAW post data? My PHP version is 4.3.2.Is register globals ON or OFF? Either way, maybe try $_SERVER['HTTP_RAW_POST_DATA']... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professionals – www.phparch.com