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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-08-2009, 02:49 PM   #1
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
I need a simple ad rotator

Everything I come across is pretty crappy or super-bloated.
I just need a simple ad rotator. Add the image and url to the admin panel, include the code where I want ads, and it randoms.
What do you use?
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 02:54 PM   #2
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
I guess I could just go with something such as

Code:
<?php

$fcontents = join ('', file ('ads.txt'));
$s_con = split("@",$fcontents);

$banner_no = rand(0,(count($s_con)-1));
echo $s_con[$banner_no];
?>
but I'd rather be lazy with a simple interface lol.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 03:56 PM   #3
Iron Fist
Too lazy to set a custom title
 
Join Date: Dec 2006
Posts: 23,400
Can't believe you have Dreamhost in your sig...

Brutal.
__________________
i like waffles
Iron Fist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 04:02 PM   #4
brassmonkey
Pay It Forward
 
brassmonkey's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 77,053
Quote:
Originally Posted by sharphead View Post
Can't believe you have Dreamhost in your sig...

Brutal.
reel in the suckers!! maybe u can get a patent 2 sell air
__________________
TRUMP 2025 KEKAW!!! - The Laken Riley Act Is Law!
DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com
brassmonkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 04:05 PM   #5
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Quote:
Originally Posted by sharphead View Post
Can't believe you have Dreamhost in your sig...

Brutal.
It's easy money.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 04:07 PM   #6
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
and I'm good now. no more need for the script.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2009, 04:19 PM   #7
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by Twig View Post
I guess I could just go with something such as

Code:
<?php

$fcontents = join ('', file ('ads.txt'));
$s_con = split("@",$fcontents);

$banner_no = rand(0,(count($s_con)-1));
echo $s_con[$banner_no];
?>
but I'd rather be lazy with a simple interface lol.
I used same code and it work perfectly fine.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.