![]() |
I'm looking for a banner rotator (PLEASE ADVISE)
I'm in need of a banner rotator that will give my the ability to rotate a different advertisement on each page load.
I currently have a little php script that allows me to rotate several jpg or gif files for the same sponsor link. But now I'm looking for something that can give me a new promo ad with matching link each time. Basically like what adult message boards use to rotate sponsors. |
bump same here
|
|
phpAdsNew kicks ass and it's free :thumbsup
|
agree with ice, phpadsnew ;)
|
|
<?php
$banner[1] = "http://www.banner.com/site/url.jpg"; $url[1] = "http://www.url.com"; $banner[2] = "http://www.banner.com/site/url.jpg"; $url[2] = "http://www.url.com"; $banner[3] = "http://www.banner.com/site/url.jpg"; $url[3] = "http://www.url.com"; $r = rand(1, count($banner)); echo "<a href=\"" . $url[$r] . "\" target=\"_blank\"><img src=\"" . $banner[$r] . "\" border=\"0\"></a>"; ?> just make more variables with a higher number like the first 3, for every one you wanna add |
PhpAdsNew and don't look back.
|
All times are GMT -7. The time now is 10:28 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123