Frequently asked questions about the Guestbook CGI script.
Follow these steps to set up the Guestbook:
guestbook.pl to /cgi-bin/guestbook.html to /guestbook/addguest.html to /guestbook/touch guestbook.txt
chmod 666 guestbook.txt
chmod 755 guestbook.pl
Customize the guestbook appearance by modifying these variables:
$title = "My Guestbook";
$bgcolor = "#FFFFFF";
$text_color = "#000000";
$link_color = "#0000FF";
$entry_separator = "<hr>";
For more control:
Several techniques help prevent spam:
@banned = ("viagra", "casino", "spam");
@blocked_ips = ("192.168.1.1");
Methods to delete guestbook entries:
http://yourdomain.com/cgi-bin/guestbook.pl?admin=1