Listing HTTP Requests

Discussion in 'PHP' started by amorph, Oct 2, 2007.

  1. #1
    I looking for a snippet/script that will extract the http requests (images, scripts, css files etc.) for a given webpage. Anyone with an idea?
     
    amorph, Oct 2, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    nico_swd, Oct 2, 2007 IP
  3. amorph

    amorph Peon

    Messages:
    200
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I need something that will build an array or something with all the requests a browser has to fulfill when displaying a page as per my following example:

    <img src="http://www.domain.com/images/ablablabla.gif" />
    <link rel="stylesheet" type="text/css" href="http://www.domain.com/css/style.css" />
    <script src="http://www.domain.com/js/script.js" type="text/javascript"></script>


    Anything that opens a request :D. K'mon nico, if you don't know it, I'm doomed :))
     
    amorph, Oct 2, 2007 IP
  4. amorph

    amorph Peon

    Messages:
    200
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    amorph, Oct 2, 2007 IP