Guestbook Version 2.3.1 by Matt Wright is available for use on www.uaf.edu. Note: Our version has been significantly modified from the original. This program is a perl script which adds entries supplied by visitors to your guestbook file. For an example, you may wish to visit the Webauthors Guest Book.
The guestbook consists of the perl script and three HTML files. The perl script must be customized for your use, and will be installed by the SysAdmin. The three HTML files (described below) may be modified as necessary to fit your needs (according to rules stated in the description below).
There are several options that you have to decide whether or not to use. Below is a brief description of what each one does.
GUESTBOOK.HTML - This is the file that you will link to that will contain the Guestbook Entries. You will need to have this set at write/read permission for the users (chmod a+rw). [Note: You may wish to have your SysAdmin assist you with changing the file permissions.] You will probably need to edit the url for the link to the addguest.html file and edit the url at the end of this page to point back to your home page. You will also want to edit the title and heading spaces. Do not delete the line <!--begin--> from this guestbook, or else the script will have no way of knowing where to begin the editing. The <!--begin--> line is the only necessary line in your guestbook.html file, but the link to the addguest.html file is also a good idea. :)
ADDGUEST.HTML - This is a fill-out form to add a new entry into the guestbook. You will need to edit parts of it to correct urls and names of things, but leave the basic field names in place in the form. You will also need to change the action of the form to point to the dept.guestbook.pl (where dept is your account name; e.g., dcc.guestbook.pl would be the name for the perl file for the dcc account) file you placed in your cgi-bin.
GUESTLOG.HTML - This is a short log that lists domains and times that entries were created. Much easier to browse, and it will point out those failed entries when users did not specify a name or comments. This file will also need read/write permission given to it. The log file is set so that newest entries are added at the bottom. This should be apparent though since the entries all come with a short date added.
The University of Alaska Fairbanks is an AffirmativeAction/Equal Opportunity Employer and Educational Institution.
Office of Information Technology - PO Box 757700 - Fairbanks, Ak 99775-7700
ph: 907-474-6564 / fax: 907-474-5910
Last modified 08/08/2006
by fxdjl@uaf.edu