Ad Rote8 v1 - readme.txt
To use this code you will require webspace with PHP scripting language installed. No database is needed, the script writes to a flat text file.

//#### HOW THE SCRIPT WORKS #####################
This script reads the number of the last ad shown from a text file.
It then works out the next ad to display.
It then writes the new ad number to the text file.
It then displays the ad.
Full installation instructions are below.


//#### STEP BY STEP INSTALLATION ################
Copy the files adrote8.php, adrote8.txt to your public_html folder.
Change permissions on adrote8.txt to 777.
Create a folder called ads in your public_html folder.
Put your ads in this folder.
Alter the $ad, $url and $alt arrays in the adrote8.php file. It is clearly stated in this file what needs to be changed.
You need to include adrote8.php near the top of the page you want to dislay the ads on. Insert: include("adrote8.php");
Decide where you want your ads to appear and insert the function call: showad();


//#### FUTURE DEVS FOR AD ROTE8 ###################
I am going to build ad statistics into the code so that you can prove to clients that their ad has be shown x amount of times. I am going to get date, time, ip, pageurl and write them to a text file.
May add an onUnload javascript to record how long their ad was shown for.
May build a login for clients to view the stats for their ad.
Any other suggestions? contact rg@redeyemedia.co.uk


//#### CREDITS ###########################
This script was created by Richard Grove - redeyemedia.co.uk
Please respect my script and leave these credits here. Thanks
