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>";
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)