GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I need a simple ad rotator (https://gfy.com/showthread.php?t=920616)

Twig 08-08-2009 02:49 PM

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 08-08-2009 02:54 PM

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.

Iron Fist 08-08-2009 03:56 PM

Can't believe you have Dreamhost in your sig...

Brutal.

brassmonkey 08-08-2009 04:02 PM

Quote:

Originally Posted by sharphead (Post 16162566)
Can't believe you have Dreamhost in your sig...

Brutal.

:1orglaugh reel in the suckers!! :1orglaugh:1orglaugh maybe u can get a patent 2 sell air :winkwink:

Twig 08-08-2009 04:05 PM

Quote:

Originally Posted by sharphead (Post 16162566)
Can't believe you have Dreamhost in your sig...

Brutal.

It's easy money.

Twig 08-08-2009 04:07 PM

and I'm good now. no more need for the script.

Klen 08-08-2009 04:19 PM

Quote:

Originally Posted by Twig (Post 16162466)
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.


All times are GMT -7. The time now is 10:27 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123