Index of /applications/referrer-tracking

      Name                    Last modified      Size  Description
Parent Directory - lib/ 25-Jan-2004 07:55 - register 03-Aug-2003 02:47 5.2K register.pl 03-Aug-2003 02:47 5.2K verify 03-Aug-2003 14:48 1.5K verify.pl 03-Aug-2003 14:48 1.5K SPECIFICATION 04-Aug-2003 01:39 2.4K test.html 04-Aug-2003 01:53 856 Referrer Tracking Test Page stats 04-Aug-2003 02:05 1.2K stats.pl 04-Aug-2003 02:05 1.2K login 04-Aug-2003 03:57 2.3K login.pl 04-Aug-2003 03:57 2.3K setup 04-Aug-2003 04:11 1.5K setup.pl 04-Aug-2003 04:11 1.5K refer 04-Aug-2003 04:33 2.5K refer.pl 04-Aug-2003 04:33 2.5K referrer.tar.gz 10-Jul-2005 19:29 632 A dynamically generated tarball of the current code

WARNING
=======

This code is not the latest code. Let me know if you want a copy of
the latest code.



Referrer Tracking Tool.

Edit the .config file to have the following entries:

   name=Affiliates System
      The name of your system

   dbconfig=DBI:mysql:affiliates:database.example.com:3306
      The database configuration, in the order of:
      DBI:<database type>:<database name>:<host name>:<port>

   dbusername=username
   dbpassword=password
      The username and password for the database

   smtp=mail.example.com
      The local SMTP server

   from=admin@example.com
      The address from which to claim e-mails were sent

   dict=/usr/dict/words
      The path to a file containing one word per line and expected to
      be used for generating passwords.

   home=http://www.example.com/affiliates/test.html
      The page to which to redirect people

   password=password
      The admin password for this system

The admin password is only used once. See below.

Next, set up your templates, ".template-top" and ".template-bottom".
They can contain the keywords "$name" and "$title". $name is replaced
by the name entry in the .config file. $title is replaced by the title
of the page.

Next, view 'setup?password=foo' with your web browser (where 'foo' is
the password given at the end of your .config file). This will set up
the database tables. If you run it again it should fail.

Finally, add the URIs you want to your database:

   INSERT INTO destinations SET id=1, uri="http://news.example.org/", type=0;
   INSERT INTO destinations SET id=2, uri="ftp://ftp.example.org/", type=0;
   INSERT INTO destinations SET id=3, uri="http://example.net/file1", type=1;

Set the number after "id" to one higher each time. The first
destination (id=0) will be prefilled to be whatever you set as the
home page in the .config file when you run setup.