source

cgi

You need Perl to run the cgi driver of the sign-in (guest.cgi), and also to run "gbmaint", the database maintainer.

There are four pieces of code that make up my guestbook:

The guestbook.html file is the actual page with guest entries and various links to other pages. It has the link in it to the guest.html page which is the form for signing the guestbook.

The data from the form is input for the guest.cgi Perl program which massages it and puts it into a "dbm" database for use in another Perl program, gbmaint.

gbmaint is a small database interface and page generator that deals with the database used by guest.cgi, it is run from the UNIX command line, not through a web interface. gbmaint lets you look through guest records, delete records, generate a "test" page of guest records (in case you can't visualize what the guestbook entries will look like), and move records into the guestbook.

Steps for using the guestbook code:

Some notes to keep in mind:

cgi navbar