I have found a script that makes for easy banner rotation.
Perfect for Glype!
Download it below.
To use:
Take the content.txt file and put into your root directory. But first open it with notepad and put inbetween each
~
Your banner codes. You could put Adbrite,widgetbucks,Globalinteractive etc.
Then open Frameform.inc.php and put into there
Code:
<?PHP
//opening the text file, if this line gives you error when compiling
//then you need to chmod 755 your text file
$fcontents = join ('', file ('content.txt'));
//Spliting contents of file by looking for ~ mark between contents
//and storing everything into an array.
$s_con = split("~",$fcontents);
//getting a random number which will be within the limit of the
//contents of the file, means if 5 different banners/ads/contents then the number
//will be between 0-4 (total 5 )
$banner_no = (rand()%(count($s_con)-1));
//simple echo the content
echo $s_con[$banner_no];
?>
Upload the framedform.inc.php file back to your theme, and upload the content.txt file to your root directory and CHOMOD to 755 and your done.
You could rotate Adversal in it so there would be a % chance of the code being on the proxified page. So you can annoy your users less so then don't get pops on every page or whatever else your creative mind could think of.
Enjoy, no I didn't write the script. Buts it free for public use then credits are in the readme file.