Solved,
Just in case someone finds it usefull.
I could get the raw post with :
$send = $GLOBALS['HTTP_RAW_POST_DATA'];
And then the headers I need in the $_SERVER globals.
$header[] = "MessageType:$_SERVER[HTTP_MESSAGETYPE]"; // CALL
$header[] = "Content-Type:$_SERVER[CONTENT_TYPE]"; // te
Search php.net for "RAW HTTP"
Maybe.
On Fri, March 18, 2005 3:28 am, martin said:
> Thanks for the answer,
> what I'm trying to achieve is a php proxy that receives any GET/POST
> request with correspoding headers and brings back the results to the
> caller.
>
> Let's say I do a google search r
Jesper Goos wrote:
The $SERVER variable is an array, so try this:
";
print_r($_SERVER);
echo "";
?>
regards Jesper
martin wrote:
Hi,
I wanted to know if there is some way to expose the full headers sent
to a php page.
I found in google that for windows there is $_SERVER['ALL_HTTP'] to
read all t
Thanks for the answer,
what I'm trying to achieve is a php proxy that receives any GET/POST
request with correspoding headers and brings back the results to the caller.
Let's say I do a google search request with curl:
// I would like all this to be sent by another page --- (header + xml)
$data
The $SERVER variable is an array, so try this:
";
print_r($_SERVER);
echo "";
?>
regards Jesper
martin wrote:
Hi,
I wanted to know if there is some way to expose the full headers sent
to a php page.
I found in google that for windows there is $_SERVER['ALL_HTTP'] to
read all the headers sent but
5 matches
Mail list logo