gbook.cgi . . .
|
|
gbook.cgi is a perl guestbook script for intermediate perl users with an own cgi-bin directory.
It uses Gabriel Schine's gabe-lib, which is to be found inside the tarball.
Features
- Allow or deny HTML tags
- Optionally replace German umlauts by the according ISO signs
- Insert <br> tags for keeping the layout of messages
- Highly configurable look and feel
- Optionally sending eMails to administrator on new messages
- IP logging
- Expiration time of forms configurable
- Password protected Administration interface for deleting messages
Examples of Active Guestbooks
Installation, Configuration, Running
- Unpack gbook.tar.gz somewhere where you can execute cgi scripts (or upload it).
- Configure the variables at the top of gbook.cgi according to your needs.
- Configure the layout. In gtemplate.ht %%header will be replaced by the header,
%%data by the messages and %%footer will be replaced by the footer.
gform.html is the html form for signing the guestbook. You can change its
layout, but you must not change the <input> names.
- gentry.ht configures the look of the guestbook entries. Just write normal
HTML code. Every time the scripts finds %%n in the file, it replaces it by the
user name. %%l is replaced by the location, %%d by the signing date. %%u stands for
the homepage URI, %%m for the eMail address of the user (each with or without hyperlink).
%%b will be replaced by the message body.
- Check the file modes. gbook.cgi and gabe-lib.pl should have 755,
the other files should have 644, the directory gbook/ and its file gbk.cnt
should be writable for the http daemon.
History
- 0.1 (1999-09-13) First functional script.
- 1.0 (2000-02-11) Added Umlaut replacement, HTML tags, <br> tags and improved GUI
configuration.
- 1.1 (2000-04-26) Support of several languages.
- 1.2 (2000-11-09) Fixed time bug, simplified look and feel configuration. Added
Expiration management for forms, Administration interface and eMail option. Now independent of
operating systems.
- 1.3 (2006-06-07) Fixed Cross site scripting bug, spam workarount: allow for forbidding to sign.
Localization
If you want to translate the guestbook into your language, don't hesitate to do so. Just translate
the language strings at the top of gbook.cgi. I would appreciate you sending me your translation
so I can include it in the next release.
License
gbook.cgi is distributed under the GNU Public License. If you decide to use the script, I would
appreciate you sending me an eMail and telling me the URI of
the guestbook. If you have changed or improved the script, I would also be glad to receive an
eMail from you containing the new version.
Download
gbook.tar.gz V1.3 (7868 bytes)
|