473,324 Members | 2,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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.
Jul 17 '05 #1
4 2035
"Jimbo" <go****@popbop.com> wrote in message
news:9a**************************@posting.google.c om...
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?


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
Jul 17 '05 #2
"Virgil Green" <vj*@obsydian.com> wrote in message
news:6v**************@newssvr24.news.prodigy.com.. .
"Jimbo" <go****@popbop.com> wrote in message
news:9a**************************@posting.google.c om...
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?

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.


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

- Virgil
Jul 17 '05 #3
Jimbo wrote:
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.


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
Jul 17 '05 #4
go****@popbop.com (Jimbo) wrote in message news:<9a**************************@posting.google. com>...
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.


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
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: jerrygarciuh | last post by:
Hello, I have a client who has decided to output the OO PHP/mySQL site I have made for them onto a cd. I realize that $html = include('somefile.php'); gets 1 for success as its return value....
5
by: Moosebumps | last post by:
I have a large set of Python scripts that interface with command line utilities (primarily Perforce). I am currently capturing ALL the text output in order to get results and such. I am using the...
6
by: Robert Nurse | last post by:
Hi, Is it at all possible to capture and suppress the backspace key when focus is not on a form edit control? Basically, while the page is loading I don't want the user pressing the backspace...
3
by: coolsti | last post by:
Can someone help me enhance this code snippet which works only for IE so that it will also work for Firefox? I have been trying all sorts of things and have gotten to where I can capture the...
4
by: Jay Xx | last post by:
I have an IFrame in design mode. I've tried a bunch of things to capture key presses in that IFrame, but I can't seem to get it. I can capture key presses outside the IFrame fine. I have this...
14
by: Brent Burkart | last post by:
I am trying to capture the Windows Authenticated username, but I want to be able to capture the login name that exists in IIS, not Windows. In order to enter my company's intranet through the...
10
by: Andrew | last post by:
Hi, I have a messagebox that pops up due to an event. I did it in javascript. ie. alert("Time's up. Assessment Ended"); I want to capture the OK and Cancel events of this alert messagebox. My...
2
by: Ken Cox - Microsoft MVP | last post by:
I'm trying to find a way to program in ASP.NET 2.0 but capture the HTML output. I found the following routine in ASP.NET 2.0 Cookbook from O'Reilly. It doesn't work if I include a server-side...
6
by: Ed Leafe | last post by:
I've been approached by a local business that has been advised that they need to start capturing and archiving their instant messaging in order to comply with Sarbanes-Oxley. The company is largely...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.