Hi,
I want to get the content of html header, for example in html header, there is a line: "X-Source-ID: 211.139.172.70"
I don't know how to get it. I tried "$_ENV, $HTTP_ENV_VARS["X-Source-ID"], but failed.
Anyone can help me?
Thanks.
How can I get extra html header info
Moderator: General Moderators
I belive it's in $_SERVER.
Code: Select all
<pre>
<?php print_r($_SERVER); ?>
</pre>