ACTION = cgi-bin/cgi-bin/form.server.name
points to the process that will accept input from your form and perform
whatever actions you have described. The process is frequently defined
as a script
file.
There is limited access to the area where accessible scripts and programs
can be stored. A useful tool in developing and testing your scripts is
found at http://www.csc.vill.edu/cgi-bin/cgi-bin/gentest.pl
This is a little perl program to aid in testing your form
servers. The file just takes whatever input a form provides and writes
it to a file
called /tmp/testscript on Renoir
The downside of this approach is that each of you will write to the same file. So, you need to submit your form and then immediately copy that file from the /tmp area to your own directory. If the content looks really strange, it may be that two or more of you are testing at the same time. Select a random number, count slowly to that number and try again. (Ethernet collision resolution.)
To use the test file, use the following in your form:
<form method="post" action="http://www.csc.vill.edu/cgi-bin/cgi-bin/gentest.pl">
Since this will produce the output of your form exactly as it would
go to your server program, you can use that file as input in testing your
code.
cassel@vill.edu 20 January 1996