Guestbook - Readme


Copyright and Header

###################################################################################################       
# Programma: linker.pl                                                                            #
# Auteur   : Marc de Kwant                                                                        #
# Datum    : 23 maart 2000                                                                        #
# Versie   : 1.0                                                                                  #
# Omschrijving                                                                                    #
# Dit programma zorgt ervoor dat bezoekers een link kunnen                                        #
# achterlaten op de link-pagina.                                                                  #
# var Init                                                                                        #
# for tripod useage you must place all the files used by this script in you're cgi-bin directory  #
# for other usage of this linker contact you're webmaster                                         #
###################################################################################################
# COPYRIGHT NOTICE                                                                                #
# Copyright 1996 Marcus Hendricus de Kwant All Rights Reserved.                                   #
#                                                                                                 #
# guestbook may be used and modified free of charge by anyone so long as                          #
# this copyright notice and the comments above remain intact.  By using this                      #
# code you agree to indemnify Marcus Hendricus de Kwant from any liability that                   #  
# might arise from it's use.                                                                      #  
#                                                                                                 #
# Selling the code for this program without prior written consent is                              #
# expressly forbidden.  In other words, please ask first before you try and                       #
# make money off of my program.                                                                   #
#                                                                                                 #
# Obtain permission before redistributing this software over the Internet or                      #
# in any other medium.  In all cases copyright and header must remain intact.                     #
###################################################################################################
 

Top


Overview

This linker is written to allow people to use a simple link page on their site withoud using a database.
Their are no special features availible in this linker as in others, but it will run in 5 minutes on you're site.
Offcource you must have the capability of executing cgi-scripts.

The instructions below explain how to set up and configure the linker script.
The script should have come with three files:

  • README - Useful installation instructions.
  • linker.pl - The Perl script which does maintain the link page.
  • links.html - The html page in which the entry's will come.
  • addlink.html - The html page with which people can add a link to you're link page.

Top


linker.pl

This is the script that actually writes the guestbook entries to you're links.html file.To use this script you must define
the following varableles (they are at the top of the script):

  • $linkpageurl
    This variabele contains the full url to the links.html file which is uses to write the entries to.
    Examples:
    for tripod users $linkpageurl = "http://cgi.tripod.com/youre-site/cgi-bin/links.html";
    for other users $linkpageurl = "http://youre-site.com/cgi-bin/links.html";
  • linkpagereal
    The absolute location of the html-page (links.html)
  • $linklog
    The absolute location of the html-logfile
  • $header = "header.html";
    The header element of the error page
  • $footer = "footer.html";
    The footer element of the error page
  • $errorpage = "tripod_-_script_error.html";
  • $cgiurl
    The full url to the cgi
    Examples:

    $cgiurl = "http://cgi.tripod.com/youre-site/cgi-bin/linker.pl"; for tripod users
    $cgiurl = "http://youre-site.com/cgi-bin/linker.pl"; for other users
  • $entry_order
    1 is on top, 0 is at the bottom of the page
  • $linkmail = 1;
    1 = link the mailto to the entry; 0 = do not link the mailto to the entry
  • $seperator = 1;
    1 = use a <hr> as seperator (this function is in development).
  • @banlist = ("porn","babe","celebreties","celeb","fuck","hardcore","anal","blowjob","sex");
    You can put words in this array for which you wish to block entries.

Top


links.html

This file will contain all the entries of you're guests. In this file is on line that has to be in this file, otherwise it will not work. This is
<!--begin--> This is the position where the entries will be added. Make sure this line exists in you're links.html. There
is also a example links.html included.
Links.html should be chmoded 744 so that it is readable by everyone.

Top


Addlink.html

This file will provide the means for guests to add a entry to the guestbook.
There is also a example addlink.html included.
Addlink.html should be chmoded 744 so that it is readable by everyone.

Top


History

Created on 23 march 2000, current version 1.00

Top

Provided by MH de Kwant