RE: [PHP] POST data
| From: | John W. Holmes | Date: | Wed, 04 Dec 2002 01:08:48 +0000 |
| Subject: | RE: [PHP] POST data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126919@lists.php.net to get a copy of this message | ||
> Can someone tell me how I can access data from a POST? I don't mean
> the variables because the data I'm getting doesn't have any. I have a
> client that is doing a simple HTTP Post to a server and appending xml
> data right after the header. I need access to the xml blob.
In php.ini, there is this setting:
----
; Always populate the $HTTP_RAW_POST_DATA variable.
;always_populate_raw_post_data = On
----
It's off by default. You could turn it on and then use that variable to
get all of the data, possibly. I think it would be
$GLOBALS['HTTP_RAW_POST_DATA'] ???? with register globals off?
Search the PHP site for more info on it.
---John Holmes...