What's New
| Downloading
| Installation
| Usage
| Troubleshooting
| FAQ
| Credits
| |
![]()
added ability to have multiple homepages on same server
| added ability to specify location of homepage
| better diagnostic information in the case of an error
| fixed minor bugs
| |
| initial implementation |
![]()
If you are upgrading from version 1.0, you will need to erase any current book.cfg you have.
Proceed to Installation.
![]()
/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.
![]()
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:
| The "How did you get here?" section can be modified fairly easily.
Each of the entries except the "Following a Link" methods
can be changed. For example, if you don't like the "Dumb Luck"
entry, you can simply change everywhere that you see "Dumb Luck".
Note the different wording, however, in the value="..." section and after the final >. That's because the stuff in the value="..." part is preceded by "Found us by: " in the actual guest book, calling for gerunds where appropriate, whereas in the fill-out form it is preceded by "How did you get here?", which calls for a past particple. Example: To have multiple guestbooks, follow this example. In this
example, you want to keep a guest book of people who visit
the URL e.g. http://www.myhost.com/somedir/ separate from those
who visit the URL e.g. http://www.myhost.com/ (e.g. because
the first may be a customer's homepage and the second the ISPs
homepage). Suppose that your HTML root directory is
C:\WWW\HTDOCS\. Then:
| Copy bookform.html, book.html and book.cfg from the .ZIP file to C:\WWW\HTDOCS\ and to C:\WWW\HTDOCS\SOMEDIR\. Perform any of the changes described above that you want. Now, for bookform.html that is in C:\WWW\HTDOCS\, change the ACTION part to read:
S: Double check all the book.cfg files you have and make sure that they correctly identify the URL and filename of the guest book you are trying to keep. P: Something else went wrong. S: E-mail me.
FAQQ: Can people put HTML tags in any of the fields?A: No. This is to prevent the guest book from getting screwed up by people sticking in poorly written HTML or worse, poorly written JavaScript. Some people also sign guest books and for the comment they put in <img src="..."> where ... is the URL of a XXX JPG. I'm sure you don't want that. Q: How can I tell how many people have signed my book? A: Look at the book.dat file. Q: I want to remove someone from the guest book A: Simply edit the file book.html. If you remove someone, you should also edit book.dat by decreasing the number there by one. Q: Where do I send my $5? A: 3212 Matapan Cr. Vancouver BC V5M 4B1 CANADA
Credits
|