[UPHPU] print raw http headers and body

Kenneth Burgener kenneth at mail1.ttak.org
Mon Oct 23 17:03:22 MDT 2006


Mac Newbold wrote:
> Are you talking about a HTTP body that was posted to you, or one that
> you retrieve from a server (i.e. with curl or something)?

Yes the HTTP body that was posted to me.


> There are two ways to access the raw post data.
> 1. $HTTP_RAW_POST_DATA
>   affected by config option always_populate_raw_post_data
>   http://php.net/manual/en/ini.core.php
> 2. reading it from this file wrapper php://input
>   http://php.net/manual/en/wrappers.php.php

This appears to be working wonderfully.  Thank you for your very quick
response.

Thanks,
Kenneth


More information about the UPHPU mailing list