Tutorial

Image Rotation Script - Banner Rotation, PHP Rotator Script

My Banner Rotator Version 1.0

My Banner Rotator was created to help you easily setup banner rotators on your website without knowing any html code. My Banner Rotator is a php script. In a matter of minutes you can use this script to create your own custom banner rotator.

This Script Package includes several documents:

1. The Banner Rotator Script: getbanner-rotation.php

2. 6 PHP Banner Files. One File per banner size. Example: therotation_728.php
- You edit the file related to the Banner Rotator size you want.
- therotation_728.php is the file for 728×90 pixel banners
- therotation_300.php is the file for 300×250 pixel banners
- therotation_468.php is the file for 468×60 pixel banners
- therotation_120.php is the file for 120×90 pixel banners
- therotation_125.php is the file for 125×125 pixel banners
- therotation_160.php is the file for 160×600 pixel banners

3. 6 Text Files. Each contains the html code you need to cut and paste onto your website. One text files per banner size. Example: banner-html-code-728.txt file contains the html code for the 728×90 pixel Banner Rotator

4. The Images Folder Contains Examples Image Sizes for ach Banner Rotator

5. The Backup Files Folder – DOT NOT EDIT THESE FILES – In the event that you erase something and mess up your files. You can copy these backup files to restore the original content.

6. The eBook Folder contains the Easy Ad Builder Handbook, which explains how to sell adspace on your website.

Instructions

1. You can open your files using an html editor like Dreamweaver or your Notepad text editor.

2. Open the php file that matches the Banner Rotator size you want to create. Example: If you want to create a 468×60pixel Banner Rotator, open the file: therotation_468.php

3. There you will find two example entries added for you. Each entry looks like this:
$url_list[$url_count] = array(”website url”,”image url of banner”,”Website Name”,”Email Address”);

4. For each entry change the information in the quotes.
-First Quotes – Website URL
-2nd Quotes – The Image URL of the Banner for that Website
-3rd Quotes – The Name of the Website
-4th Quotes – The email Address of the Advertiser / And or Creator of the Website

5. Two entries are already there for you to edit. To add a new entry copy the code below:
$url_list[$url_count] = array(”website url”,”image url of banner”,”Website Name”,”Email Address”); $url_count++;

6. Paste this code just before the line that says: shuffle($url_list); ?>

7. Change the information in the quotations as detailed above. You can add as many banner entries as you like.

8. When you are finished adding banners save the file.

9. Open the txt file that matches your banner rotator. Example: banner-html-code-728.txt file contains the html code for the 728×90 pixel Banner Rotator

10. Change the url of the file to match the name of the website you will be uploading your files to. For example: The original file url looks something like this:

http://www.mybannerrotator.com/mybannerrotator/getbanner-rotation.php?therotation=therotation_468.php

11. Let’s say that your website url is: http://mywebsite.com

12. You will need to upload the entire mybannerrotator folder to your website: http://mywebsite.com

13. Once you upload your files your folder should be here: http://mywebsite.com/mybannerrotator/

14. That means you need to change the url in the text file to:
http://mywebsite.com/mybannerrotator/getbanner-rotation.php?therotation=therotation_468.php

15. Notice that I changed the example url http://www.mybannerrotator.com to the url of your website http://mywebsite.com

16. Save your file and copy the code. You can now paste that code any where you like online.

17. When you add or remove banner entries you must also upload the new file online.

Upload Support
In order to upload your files online you must have an ftp software program like cuteftp or ws ftp. If you do not have one do a Google search.

If you need help learning how to use an ftp program you can watch my how to tutorial:
http://workandwebwomen.com/gddplayer/waw_uploadimages_01.htm or you can search for ftp tutorials online.

Official Website
http://www.mybannerrotator.com/

Created by LaShanda Henry | info@mybannerrotator.com
Modification and/or distribution of this script and its contents is prohibited.

© LaShanda Henry 2009