Banner Rotate Administration







Installation


  1. Make a directory under your cgi-bin called "banner-rotate"
  2. Make a directory under banner-rotate called "logs"
  3. chmod "logs" to 777 (unix only)
  4. Make a directory called "tmp" /cgi-bin/banner-rotate/tmp
  5. chmod "tmp" to 777 (unix only)
  6. Upload all the script files to the /cgi-bin/banner-rotate folder.
  7. Configure the variables for your site in the bnr-config.pl
  8. Upload the bnr-config to the /cgi-bin/banner-rotate folder.
  9. chmod all the script files to 755 (unix only)
  • Make a folder called "admin" somewhere on your site and upload this file to /admin/index.html
  • Make a folder for your banner images somewhere on your site, this is where we will upload banner images to.
  • chmod the banner images folder to 777 (unix only)


HTML code that calls the banner
Place the code on your page where you want the banner to be displayed.

<A HREF="http://www.scenesofvermont.com/bin/banner-rotate/banner.pl?U"><IMG SRC="http://www.pbpub.com/bin/banner-rotate/banner.pl?I" Border=0></A>

This program is completely cgi driven, the only HTML page is the Admin page. Once you have the program installed and configured, add the HTML code to your page where you want the banners to appear.
You can rotate as many banners as you need, just upload the banner, add the URL asscciated with that banner and you are done.

The "tmp" folder is used to store temporary files for "click through"

The banner information is stored in the "logs" folder. The "banner.dat" file is the database of banner images and associated URL's. The format of the banner.dat is:

banner1.gif+http://www.rlaj.com/scripts+
banner2.gif+http://www.rlaj.com/scripts/banners/+
banner3.gif+http://www.rlaj.com/scripts/banners/+
banner4.gif+http://www.rlaj.com/scripts/banners/+
The statistics on each banner view and click through is stored in the logs folder. Each month the program will write a new log file for stats. The format of the stats log is:
banner3.gif+7+2+
banner1.gif+6+0+
banner2.gif+5+2+
banner4.gif+1+0+


Tree
/cgi-bin/
	banner-rotate/
		bnr-config.pl
		banner.pl
		banner-mgt.pl
		banner-upload.pl
		write-dat.pl
		|
		logs/
		    banner.dat
		    banner.log.(month)


/admin/
	index.html (this file)

/banner-images/
	(all banners)


Help

Run Banner Rotate in debug mode
Ranson's Scripts FAQ
Email Support