June 2005
Beginner
480 pages
10h 31m
English
This example allows you to write a customizable guestbook for a web site. A guestbook is an HTML form in which the user indicates his or her name and some comments. The guestbook can be used for collecting feedback on a topic, as a simple message board, or for submitting problems to a help desk. The data is kept in a file and can be displayed after the form is filled out; it also can be displayed on a page of its own.
Listing 22.7 provides a short bit of HTML to present a guestbook form for a fictional help desk. You can modify the form to suit your own needs.
1: <form action="/cgi-bin/helpdesk.cgi" name="helpdesk"> 2: <p> 3: Problem type: 4: <input type="radio" name="probtype" value="hardware"/>Hardware ... |
Read now
Unlock full access