Any way to find out headers of a website?

Discussion in 'PHP' started by Freewebspace, Jun 6, 2007.

  1. #1
    Is there any code to find out headers of a website while indexing or checking a website?

    to return 404 headers when pages are not found like that!
     
    Freewebspace, Jun 6, 2007 IP
  2. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    :confused:
     
    MMJ, Jun 6, 2007 IP
  3. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #3
    I am just asking how I can check it!

    Suppose if I am indexing a website or a url

    I have to see whether domain is on a parked page or not?

    For that what I have to do?
     
    Freewebspace, Jun 6, 2007 IP
  4. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #4
    nico_swd, Jun 6, 2007 IP
  5. damonp

    damonp Peon

    Messages:
    97
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    PHP4 -
    getallheaders();
    PHP:
    http://www.php.net/getallheaders
     
    damonp, Jun 6, 2007 IP
  6. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #6
    ^^ This does not get the headers from a remote site.
     
    nico_swd, Jun 6, 2007 IP