www.webdeveloper.com
Results 1 to 3 of 3

Thread: Http header

  1. #1
    Join Date
    Jan 2009
    Posts
    14

    Http header

    Hello All,

    Is there a way to print the http header? I want to print realm parameter from the header.

    Regards,

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,144
    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:
    PHP Code:
    <?php
    echo "<pre>" print_r($_SERVERtrue) . "</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

    eBookworm.us

  3. #3
    Join Date
    Mar 2010
    Posts
    672
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles