![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jan 2002
Location: Shreveport, LA
Posts: 1,564
|
![]() 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.
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, you may use a 624x80 instead of a 120x60. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
wtf
Industry Role:
Join Date: Sep 2001
Location: Bikini State, FL USA
Posts: 10,914
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
boots are my religion
Join Date: Nov 2005
Location: Heart of europe
Posts: 21,765
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
MOBILE PORN: IMOBILEPORN
Join Date: Jan 2004
Location: Tinseltown NL
Posts: 16,502
|
<?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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Location: Cherry Hill, NJ
Posts: 3,615
|
PhpAdsNew and don't look back.
|
![]() |
![]() ![]() ![]() ![]() ![]() |