Categories


Ad Click-Through Redirection CGI

Raiting 5.00

Description

This CGI is designed for use with ad banners. In order for you to properly calculate compensation for banners, you need to know who is clicking through them. To install, you need to create a file that is world-writable so that all of the click-throughs can be logged. For example, if you want it to be named logfile.log, type touch logfile.log and then chmod a+w logfile.log. Next, rename the CGI to something with a .cgi extension. For each ad, you need a different CGI. Now, you need to edit the CGI file. Change the $redirect variable to the URL you want to redirect to. The file you created two paragraphs ago needs to have its location placed in the $logfile. Finally, the ID you want to log each hit as should be put in the $id variable. Every time you go to the URL of the CGI, it will redirect you to the location specified in the $redirect variable and log your hit in the $logfile.

Information
Title: Ad Click-Through Redirection CGI
Author: admin00114
Price / Cost: Free
Platform / OS: Unix
Version: 3.0
Last Updated: 2002-08-19
URL: Click to Visit
Total Votes: 3
Current Rating: 5.00
Total Hits #: 1149
Listings ID #: 1915