Capturing HTTP raw reqest of a called script

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jimbo

    Capturing HTTP raw reqest of a called script

    I can't figure out how to do this. Perhpas someone has an idea.

    I'm testing various scripts that are called by external clients.
    Rather than inspect the POST variables in the PHP globals, I want to
    see the raw HTTP request in string format that was sent to make the
    request. In particular, I want to see HTTP headers that are sent to my
    server with the request.

    Any ideas on how to capture the raw request string when my script is
    called?

    Thanks.
  • Virgil Green

    #2
    Re: Capturing HTTP raw reqest of a called script

    "Jimbo" <google@popbop. com> wrote in message
    news:9a9ef3cc.0 405270702.762d1 305@posting.goo gle.com...[color=blue]
    > I can't figure out how to do this. Perhpas someone has an idea.
    >
    > I'm testing various scripts that are called by external clients.
    > Rather than inspect the POST variables in the PHP globals, I want to
    > see the raw HTTP request in string format that was sent to make the
    > request. In particular, I want to see HTTP headers that are sent to my
    > server with the request.
    >
    > Any ideas on how to capture the raw request string when my script is
    > called?
    >[/color]

    If it's flowing over the network, you can use ethereal (www.ethereal.org) to
    capture the network traffic. It's what I do.

    There are other utilities, I've heard, that aren't quite so low level, but
    ethereal suits me.

    - Virgil


    Comment

    • Virgil Green

      #3
      Re: Capturing HTTP raw reqest of a called script

      "Virgil Green" <vjg@obsydian.c om> wrote in message
      news:6vntc.902$ VJ1.57@newssvr2 4.news.prodigy. com...[color=blue]
      > "Jimbo" <google@popbop. com> wrote in message
      > news:9a9ef3cc.0 405270702.762d1 305@posting.goo gle.com...[color=green]
      > > I can't figure out how to do this. Perhpas someone has an idea.
      > >
      > > I'm testing various scripts that are called by external clients.
      > > Rather than inspect the POST variables in the PHP globals, I want to
      > > see the raw HTTP request in string format that was sent to make the
      > > request. In particular, I want to see HTTP headers that are sent to my
      > > server with the request.
      > >
      > > Any ideas on how to capture the raw request string when my script is
      > > called?
      > >[/color]
      >
      > If it's flowing over the network, you can use ethereal (www.ethereal.org)[/color]
      to[color=blue]
      > capture the network traffic. It's what I do.
      >
      > There are other utilities, I've heard, that aren't quite so low level, but
      > ethereal suits me.[/color]

      Oops... www.ethereal.com. Sorry.

      - Virgil


      Comment

      • Moxley Stratton

        #4
        Re: Capturing HTTP raw reqest of a called script

        Jimbo wrote:
        [color=blue]
        > I can't figure out how to do this. Perhpas someone has an idea.
        >
        > I'm testing various scripts that are called by external clients.
        > Rather than inspect the POST variables in the PHP globals, I want to
        > see the raw HTTP request in string format that was sent to make the
        > request. In particular, I want to see HTTP headers that are sent to my
        > server with the request.
        >
        > Any ideas on how to capture the raw request string when my script is
        > called?
        >
        > Thanks.[/color]

        Do you need something just for debugging? Use Mozilla and install the
        'Live HTTP headers' extension. It will show you the request and response
        headers in real time as you traverse a site. Extremely useful.

        -Moxley
        moxleystratton. com

        Comment

        • R. Rajesh Jeba Anbiah

          #5
          Re: Capturing HTTP raw reqest of a called script

          google@popbop.c om (Jimbo) wrote in message news:<9a9ef3cc. 0405270702.762d 1305@posting.go ogle.com>...[color=blue]
          > I can't figure out how to do this. Perhpas someone has an idea.
          >
          > I'm testing various scripts that are called by external clients.
          > Rather than inspect the POST variables in the PHP globals, I want to
          > see the raw HTTP request in string format that was sent to make the
          > request. In particular, I want to see HTTP headers that are sent to my
          > server with the request.[/color]

          Ethereal needs bit learning curve. The handy sniffer yet I tried is
          HTTP Look <http://www.httpsniffer .com/>

          --
          | Just another PHP saint |
          Email: rrjanbiah-at-Y!com

          Comment

          Working...