M-Script II


This is a collection of four MS2 programs that together form a fairly sophisticated banner ad system. This system tracks up to 20 banner ads (you can change this number to anything you want), counting how many times each one is displayed as well as clicked on. Banners can be set to expire after a certain date, after N displays, or N clicks. A status display showing all the banners and their counts is available, and from this display you can add/edit/delete banners as well.

To use it, copy the following four files into your MS2 directory, then visit the URL http://www.islandnet.com/cgi-bin/ms2/LOGIN/stats (replace LOGIN with your Islandnet login name) to begin adding banners.

NOTE: STATS.MS2 and EDIT.MS2 require a login/password which you must first change inside the script itself.

AD.MS2 - The program to call to actually display an ad.
CLICK.MS2 - The program that is invoked when an ad is clicked on.
EDIT.MS2 - Called by STATS.MS2 to add/edit/delete a banner.
STATS.MS2 - Displays a status page containing all your ads.