Full header information

Discussion in 'PHP' started by sugarland, Nov 16, 2009.

  1. #1
    I'm developing a script to handle the headers by php, and just know few items of headers, like:

    header('content-type: text/html');
    header('cache-control:public');

    Can anybody tell me the full header information and items we can configure by php script?
     
    sugarland, Nov 16, 2009 IP
  2. lp1051

    lp1051 Well-Known Member

    Messages:
    163
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Follow PHP manual for header()
     
    lp1051, Nov 16, 2009 IP
  3. shubhamjain

    shubhamjain Active Member

    Messages:
    215
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    63
    #3
    Try these

    http://en.wikipedia.org/wiki/List_of_HTTP_headers
     
    shubhamjain, Nov 16, 2009 IP
  4. sugarland

    sugarland Member

    Messages:
    105
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #4
    sugarland, Nov 17, 2009 IP
  5. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That's about as comprehensive as you're going to find without reading the RFCs (linked at the bottom of the wikipedia article). What other help did you have in mind?
     
    SmallPotatoes, Nov 18, 2009 IP
  6. sugarland

    sugarland Member

    Messages:
    105
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #6
    I want to know what are the regular items we need to configure. There are many items, and for most of them we don't need to change.
     
    sugarland, Nov 19, 2009 IP