Index of /applications/referrer-tracking

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

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.