Hey guys, Ok, on my site www.sexyornot.us I have a banner rotation system, where I can upload up to 5 banners and they will be rotated. Now, Is there anyway I can put a google ad 468x60 in the rotation some how??? THanks
Use this code PHP Code place this code where you want the ad to show at. <?php $fcontents = join ('', file ('/468x60.txt')); $s_con = split("~",$fcontents); $banner_no = rand(0,(count($s_con)-1)); echo $s_con[$banner_no]; ?> Code (markup): Then make a .txt file called 468x60.txt 468x60.txt Ad code here ~ <---- use this to seperate every add Another Ad code Code (markup):