473,406 Members | 2,698 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,406 software developers and data experts.

Debugging Forms

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?
Jul 22 '08 #1
4 1194
Super Steve wrote:
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.
While I don't recommend it for production work, if you modify your form
so the ACTION is http://www.swiftys.org.uk/cgi-bin/test then you will
see an analysis of all the form data submitted with your request.

Of course, doing this you have to trust that my server won't record the
data that you submit, and use it for nefarious purposes. As it happens,
it doesn't record anything (I've got better things to do with my time)
but then he would say that, wouldn't he?

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Jul 22 '08 #2
On Jul 23, 5:22*am, Steve Swift <Steve.J.Sw...@gmail.comwrote:
Super Steve wrote:
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.

While I don't recommend it for production work, if you modify your form
so the ACTION ishttp://www.swiftys.org.uk/cgi-bin/testthen you will
see an analysis of all the form data submitted with your request.

Of course, doing this you have to trust that my server won't record the
data that you submit, and use it for nefarious purposes. As it happens,
it doesn't record anything (I've got better things to do with my time)
but then he would say that, wouldn't he?

--
Steve Swifthttp://www.swiftys.org.uk/swifty.htmlhttp://www.ringers.org.uk
I tried submitting to your script and received the following back:

<HEAD><BODY BGCOLOR=#FFFFD0><TITLE>CGI Test</TITLE></HEAD>
<FONT SIZE=+3><U>CGI/1.1 test script report:</U></FONT><BR>
</TABLE></TABLE></TABLE></TABLE></TABLE></TABLE></TABLE></TABLE></
TABLE></TABLE>
<H2>Syntax Error</H2>
<H3>Routine not found</H3>
21 *-* If method = 'POST' then call PostCheck

Looks like there's something wrong with your script?
Jul 22 '08 #3
Super Steve wrote:
<H3>Routine not found</H3>
21 *-* If method = 'POST' then call PostCheck

Looks like there's something wrong with your script?
Well, you could be the first person to call that routine using "POST"
for quite a while. Now fixed. Thanks for the heads-up!

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Jul 24 '08 #4
Super Steve wrote:
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!
What prevents you from writing one yourself?
Jul 28 '08 #5

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

Similar topics

7
by: Mikael Östberg | last post by:
Hello all! I have been working on a project for some time now and yesterday, my debugger stopped working. It is a class library which I run from a Win32 test app, so no IIS involved at this...
7
by: G. Schmelzer | last post by:
Hi Ng, I've got a problem with the debugging of a Windows Application. I start the app in Debug Mode. But when an exception appears, vs.net doesen't jump to code line where the exception...
6
by: ?scar Martins | last post by:
Hi When I'm debugging and somewhere in the code I have a breakpoint, many times when the code after breakpoint finishes and the app returns I can do nothing within in it(it's like freeze)... The...
1
by: Jeff Stewart | last post by:
I have tried all of the following things to get JIT debugging to work for my Windows Forms application: * Checked all available options under Tools/Options/Debugging/Just-In-Time * Checked...
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
0
by: Benny | last post by:
I have been trying to instal AutoCAD 2008 on a single PC and get the following Microsoft .NET Framework security error. I have updated to the latest .NET Framework 2.0 software, however, this...
4
by: R.A.M. | last post by:
Hello, I am writing my first ASP.NET application (I use .NET 2.0, Visual Web Developer 2005 Express Edition and SQL Server 2005 Express Edition). The application builds successfully but when I try...
12
by: hjmjao | last post by:
Hi when I run my application for some users it gives me the following message See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ...
0
by: stimpy_cm | last post by:
Hi everyone, I’m not a programmer but have a little notion about how things work. I recently downloaded an emulator for my calculator (Texas Instruments Voyage 200), the program uses a library...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi misters, i have application winforms in VB.NET When I press F5, for executing Debug....it's slows... I see,
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.