title: How can I access the raw HTTP request data with PHP/apache?
body: <p>I was wondering if there was a way to get at the raw HTTP request data in PHP running on apache that doesn't involve using any additional extensions. I've seen the <a href="http://au2.php.net/http" rel="noreferrer">HTTP</a> functions in the manual, but I don't have the option of installing an extension in my environment.</p>
  
  <p>While I can access the information from $_SERVER, I would like to see the raw request exactly as it was sent to the server. PHP munges the header names to suit its own array key style, for eg. Some-Test-Header becomes HTTP_X_SOME_TEST_HEADER. This is not what I need.</p>