Form Debugging?

S

Super Steve

I'm trying to debug a form handler (written in PHP) and in the past
I've used a tool like cg-eye at http://www.htmlhelp.com/tools/cg-eye/cgeye.cgi
to test things like this.

However now cg-eye doesn't seem to be sending form data to my form
processing script.

I've looked around to see if there are any other online tools that let
you specify a URL to submit a request to, along with a list of field
name / value pairs, and that then shows the result, but I can't find
anything! There are plenty of HTTP header viewers, but they don't let
you submit form data with the request.

I've also tried looking for a program that I could run locally on my
computer but couldn't find anything suitable (plenty of sniffers but
nothing that would submit a request).

Does anyone know of anything that I could use for this kind of thing?
 
N

Nik Coughlin

Super Steve said:
I'm trying to debug a form handler (written in PHP) and in the past
I've used a tool like cg-eye at
http://www.htmlhelp.com/tools/cg-eye/cgeye.cgi
to test things like this.

However now cg-eye doesn't seem to be sending form data to my form
processing script.

I've looked around to see if there are any other online tools that let
you specify a URL to submit a request to, along with a list of field
name / value pairs, and that then shows the result, but I can't find
anything! There are plenty of HTTP header viewers, but they don't let
you submit form data with the request.

I've also tried looking for a program that I could run locally on my
computer but couldn't find anything suitable (plenty of sniffers but
nothing that would submit a request).

Does anyone know of anything that I could use for this kind of thing?

print_r( $_POST );
 
N

nice.guy.nige

While the city slept, Nik Coughlin feverishly typed:
print_r( $_POST );

Ahh, the wonder of print_r() :) And to make the output a little more
readable;

echo "<pre>\n";
print_r($_POST);
echo "</pre>\n";

Cheers,
Nige
 
S

Super Steve

print_r( $_POST );

Thanks for your help but I should maybe have included a bit more info
on what I'm trying to achieve.

I want something that will show me the raw HTTP headers and data that
is flowing into and out of my script.

The Cg-Eye utility that I mentioned in my original post is intended to
do this, but for some reason it's not working at the moment. If you
have a look at Cg-Eye you'll see what I mean.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
474,099
Messages
2,570,626
Members
47,237
Latest member
David123

Latest Threads

Top