$_SERVER array:
REQUEST_METHOD
REQUEST_URI
SERVER_PROTOCOL
function getallheaders()
|$HTTP_RAW_POST_DATA|
||||
|this should be all you need|
Heiko Mundle wrote:
Is it possible with php to print the http header and the attached data for a transmitted http request? How can I do this?
an example of what I want to see:
POST /cgi-bin/CgiMfc1?MyQuery%3dQData HTTP/1.1
Accept: text/*
User-Agent: HttpCall
Accept-Language: en-us
Host: localhost:680
Content-Length: 98
000629EF2656+vs+%0d%0a143%2e114%2e37%2e22+vs+%0d%0aDEKGKIEG+vs+
%0d%0a000629ef2656+vs+%0d%0a2051586
Thanks Heiko
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php