You may use the example scripts mailform.pl and register.pl as
models. As a matter of fact, you may make copy of these programs, install them in your Web
directory, and modify and combine them as necessary.
This is a change! Note that you should NOT append the entire email message to
the file as mailform.pl does. You should only append the form field names and values.
You *may* use the <record> tag format for the file. Be sure to describe your file
format in the description of your solution to the problem, as stated below.
Note that when you write or append to a file with a CGI script, our CGI directories are
set up to most easily do that by keeping the file in the CGI directory. Your CGI directory
must have at least "group access", but not world access, (and under no
circumstances you change the group on this directory!) and the file must have "world
write permission". In this way, when the web server executes the cgi script, it can
enter the directory as the group and then it can write the file as the world.
You may use either the "ReadParse" subroutine or the CGI.pm libraries in your
program. If you use ReadParse, you must also copy ReadParse.pl to your cgi
directory.
When you submit your homework, make a link on your homework page to a page for homework
1 which includes: