Rotator
Rotator is a simple PHP script for generating randomised (rotating) graphical links, e.g. ad banners. A comma-separated text file holds the data describing the links. To use rotator simply create a Rotator object and name the text file, then call one of three functions:
showRandomLink() shows a single link
showAllLinks() show all the links, e.g. for testing
showAllLinksTogether() shows all links together in a row, e.g. in a footer
The text file holds one line for each possible link. Each line has fields for Imagefile, LinkURL, AltText and Text. The Text field is optional. When included it produces additional text wrapped around the link image.