Re: How do I get the entire data sended to the web server?

From: Date: Wed, 08 Jan 2003 13:21:25 +0000
Subject: Re: How do I get the entire data sended to the web server?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130764@lists.php.net to get a copy of this message
I don't think there is a single variable, but you can build it from various variables and functions: $_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


« previous php.general (#130764) next »