Source Code Online Home Categories Top Code New Code Submit Code
Search
Subject Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Visual Basic & VB.NET
 XML
New Code
Online Notebook Manager 1.0
DMXReady Blog Manager 1.0
Availability Booking Calendar 1.5
Free Hotel Management Source Code 1.0
Artistic Photo Gallery 1.0
Advanced Image Grid AS 2.0 1.0
The Viral Script 1.0
bretteleben.de Panoramascript 1.01
One more way ... 1.01
ASPAuctionPro 1.1
bretteleben.de Lakescript 1.01
bretteleben.de Slideshow 1.01
Pacific Timesheet 6.4
DMXReady Classified Listings Manager 1.0
DMXReady Secure Login Manager 1.0
Top Code
Adirex 3D Chess Client 1.0
Habanero 2.0.1b
ikiCLassifieds 2.0
JVMail 2.0.0
P2P .htManager 0.2
Smart Font Listbox 1.0
Su Logu 0.6.2
Ticket Support Script 1.1
Time and Attendance 1.0
WhoisOnsite 1.VIII
XMBForum 1.9.10 Karl
phpTimeSheet 1.3.0-preview 2
Arbitrary-shape Popup Box 1.0
CSTreeBean 0.3
encbtn32.zip 1.00.00b
Report About Ad Click-Through Redirection CGI 3.0
- required fields

Please enter text on the image
  

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

Back