Searching the net I couldn't find a simple way of retrieving HTTP Request Headers and HTTP Request Body in a PHP Script.
PECL extensions offer this but not a standard PHP install.
So heres a simple class that will do it for you.
Docs in my blog: http://fijiwebdesign.com/content/view/90/77/