Is there a way to print the http header? I want to print realm parameter from the header.
Not sure what you mean by "realm", but you might want to try the following to see if what you are looking for is in the $_SERVER array:
echo "<pre>" . print_r($_SERVER, true) . "</pre>";
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
If its just for development checkout "live http headers", a nice plugin for firefox. It will show the entire http request and response conversation.
If you're actually printing something from the header onto the screen for users (which would be odd) the $_SERVER array probably has what you need.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)