Indexing script

Discussion in 'PHP' started by linkexchange1984, Sep 19, 2008.

  1. #1
    I m willing to create a script for indexing headers of all pages of my root directory.
    i am willing to store the headers information at mysql database.
    any idea to solve this problem?:confused:

    [short script of spidering]
     
    linkexchange1984, Sep 19, 2008 IP
  2. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #2
    By headers, are you referring to http headers?
     
    Kaizoku, Sep 19, 2008 IP
  3. linkexchange1984

    linkexchange1984 Peon

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes.............

    thanx for reply. Wht next? Plzz suggest me.


    -------------------------------------
    Download Free Ebooks -- www.ebookondemand.in
     
    linkexchange1984, Sep 19, 2008 IP
  4. chmdznr

    chmdznr Active Member

    Messages:
    417
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #4
    php curl can do that. you should access your pages using curl with some option set to get only the header of a page. try googling about this.
     
    chmdznr, Sep 19, 2008 IP
  5. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #5
    Use the php get_headers() function
     
    Kaizoku, Sep 20, 2008 IP
  6. linkexchange1984

    linkexchange1984 Peon

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    actually i m looking for a script that will collect all the headers of pages of my site and store it in the database.

    [when ever the script will execute, it will collect all the headers information and store it at the database.]


    --------------------------------------------------------------------
    Banking Interview Tips (www.bankingcritics.info)
     
    linkexchange1984, Sep 21, 2008 IP