View Single Post
Old 11-11-2012, 04:54 PM  
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
I would use PHP code widget and put in <? include "bannerphpfileurl.php" ?> in the sidebar.

Then in an external php file on your host, do this:

Code:
<?php
$advert = array();
  $advert[] = '<a href=""><img src="" />advert1</a>';
  $advert[] = '<a href=""><img src="" />advert2</a>';
  $advert[] = '<a href=""><img src="" />advert3</a>';


shuffle($advert);
echo $advert[0];
?>
Then either use tracking on the index that tracks exits, or if the URLs to the ads are the same, make separate redirect pages on your server for each ad to keep track.

Can someone modify this to make tracking better?..

I guess you don't need the php for the banners to be external, but it makes working on multiple sites much easier..
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

Last edited by Colmike9; 11-11-2012 at 04:56 PM..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote