Re: Reading all headers sent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The $SERVER variable is an array, so try this:

<?
echo "<pre>";
print_r($_SERVER);
echo "</pre>";
?>

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 I'm using php on linux/apache.


There is any way to get in a variable the full headers sent to a page ?


Best regards, MARTIN


--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux