Perl Guestbook



About the script

The simple and convenient guest book written on Perl. All data is stored in MySQL or PostgreSQLsql database. This GuestBook has additional useful features, such as a profanity filter, anti-spam, page navigation for messages. For successful work you need to set own design only.


- Perl 5.8 or later;
- Module DBI;
- Module GD;
- MySQL DataBase 4.1 or later, or PostgreSQL 6.0 or later.

Features of Perl Guestbook

- is built in under any design a site (you should only to edit the files lib/_top.php and lib/_bottom.php);
- Spam Protection;
- banlist of IP;
- paginal navigation << < ...| 5 | 6 | 7 ... > >>;
- support BBCode;
- displaying emoticons;
- the notification about new added messages;
- the ability to add messages for moderation;
- password-protected admin panel;
- easy to install and configure.


Create folder, for example, guestbook, on your web server. Next Unpack archive and upload the contents of the cgi-bin in this folder, and contents of the folder "www" in root of your website Then set permission (CHMOD) for all folder - 755*, for all files - 711* Create your database and put the tables there. In most hosting it is usually done via web-interface, for example, via phpMyAdmin. Database dump is located in the file guestbook.sql** Then open in Notepad or any other text editor, set a data connection to the database (MySQL or Postgres), name of Database $dbname, host $dbhost, username $dbuser and password $dbpasswd) Write in the URL-bar of your browser the url-address of administration panel. For example: http://your_site/cgi-bin/admin/ Entry password on default: 1111. Next set your own settings.

* Some hosting providers may demand to set other permissions (CHMOD). (See the FAQ of your hosting provider)
** Usually on most hosting is done through a web-interface phpMyAdmin.

Commercial version

According to the customer’s choice I can adapt the script to particular conditions. Different extra function can be added.


The script "Perl Guestbook", further on "program", is totally free. You can freely distribute, copy, introduce changes in the open source code of the program, only if you preserve the author’s copyright. Using the program "Perl Guestbook" for commercial purposes without the author’s permission is prohibited. You use this program at your own risk. The author bears no responsibility for the program operability, as well as for the losses and damage a data or anything else connected with the usage and work of the program.

If you have any questions or suggestions, please email me at the address: This email address is being protected from spambots. You need JavaScript enabled to view it.

If you liked my script and you have the desire to supprt me by money, here is my account:

This email address is being protected from spambots. You need JavaScript enabled to view it.

Alexander Yanitsky

Read 52018 times
More in this category: Perl Newsletter »

Add comment

Security code