Interaction on the
World Wide Web with
the Common Gateway Interface


Designing a Guestbook

First We need to call it something like "EVL Guestbook."

Then We need a program to interpret the information created by the form.

<form method="post" action="guestbook1.cgi">

where guestbook.cgi is the program. We'll look at that more later.

Here's three text areas:

Name ( InRealLife ):

The code for this line is
Name ( InRealLife ):<br> <TEXTAREA name="name" ROWS = 1 COLS = 20></TEXTAREA>

E-mail:

The code for this line is
E-mail:<br> <TEXTAREA name="email" ROWS = 1 COLS = 20> </TEXTAREA>

Your URL:

The code for this line is
Your URL: <br> <TEXTAREA name="url" ROWS = 1 COLS = 20></TEXTAREA>

Then the page has to have a Submit button and a Reset button. The Reset button gives your cybernaut a chance to correct his or her mistakes. It looks like this:

Ala html: <inPUT TYPE ="reset" VALUE = "Reset">

The Submit button sends you information in a long string to the program that does something ammusing with that data and spits something equally ammusing out.

Code: <inPUT TYPE ="submit" VALUE = "Submit">

Go to The Actual Guest book!