You are here: Re: [PHP] Reading all headers sent « PHP « IT news, forums, messages
Re: [PHP] Reading all headers sent

Posted by Jesper Goos on 03/18/05 13:12

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
>

--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация