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. / |