A Simple Guest Book

For Windows NT/95

Version 1.5

Table Of Contents


What's New...

...in version 1.5 ...in verison 1.0

Back to TOC


Downloading

Download book.zip.

If you are upgrading from version 1.0, you will need to erase any current book.cfg you have.

Proceed to Installation.

Back to TOC


Installation

  1. Unzip book.zip in your /cgi-bin or /cgi-shl directory. If you are using WinZip, you should use the "Use Directory Names" option, or, if you are using PKUNzip, use the -d option. The following directories and files are created:
    /cgi-bin (or /cgi-shl) <--server's CGI directory
       |
       |--book.exe         <--the CGI script
       |--book.html        <--Guest Book
       |--bookform.html    <--The form people fill in
       |--book.cfg         <--configuration file
       |
       |--/doc
           |
           |--book.html    <--this document
    
    The guest book program creates files called book.dat where it keeps track of how many people have signed in. It also uses the file lock.boo as a semaphore.
  2. Move the files bookform.html and book.html to your HTML document root directory.
  3. Edit the file bookform.html to your liking (see Usage below).
  4. Edit the file book.html so that instead of saying "My Guest Book" everywhere, it says what you want it to say. You should not add anything after the final <hr>.
  5. Edit the file book.cfg. Under the [Bookmaster] section, put your e-mail address. Under the [Guest_Book_URL] section, put the URL to the file book.html. Under the [Guest_Book_Filename] section, put the full path to the file book.html. And finally, under [Homepage_URL] put your homepage's URL. Sample book.cfg files are provided below.
  6. Proceed to Usage.
Back to TOC

Usage

It is very simple to use the guest book (thus the name :)). On your homepage, put something like the following: ...blah blah blah... <a href="/bookform.html">Sign my guest book!</a> ...blah blah blah... The ...blah blah blah... are optional, of course.

You should not attempt to edit the bookform.html file too much. Everything before the <FORM ACTION=...> and after the </FORM> is OK to edit, but in between, there really are only two things you should change: