A Simple Perl CGI to Handle Input
and Output on the Web
- Download io_template.txt.
- Copy io_template.txt
to your Web Server.
Macintosh Web server
- Make sure Perl is
installed and running on the server.
- Use any workstation
to open io_template.txt and save it as a Macintosh CGI with the
name io_template.cgi.
- Copy io_template.cgi
onto the Web server, using the placement to determine the URL for the
CGI.
UNIX Web server
- Reneame io_template.txt
as io_template.pl and find out from your system administrator where
to put io_template.pl.
- Copy io_template.pl
to the appropriate directory (executable). Use the path to determine the
URL.
- Use a Web browser to
bring up this URL and test it.
- If it doesn't work like
this, talk to your system administrator.
- Download the source HTML
for io_form_template.html.
- In the 10th line of io_form_template.html,
change "CGI_location" to the URL of io_template.cgi (Mac) or the path
of io_template.pl (UNIX). Copy io_form_template.html to you
Web server and try it. It should work like this.