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)
-   -   Script for a radom(rotating) banners? (https://gfy.com/showthread.php?t=196405)

spamofon 11-11-2003 11:56 PM

Script for a radom(rotating) banners?
 
Anyone? :helpme

Reak 11-11-2003 11:58 PM

www.hotscripts.com ?

Rivux 11-12-2003 12:00 AM

If you want something super basic, you can use the code below. All you need is a plain text file with the link and image tag in the file, one per line. Call the file ads.txt if you want.

PHP Code:

<a href="somesite.com"><img src="ads/banner.jpg"></a

then whereever you want the banner to be, paste this code in.

PHP Code:

<?
$items = file("ads.txt"); 
$item = rand(0, sizeof($items)-1); 
echo $items[$item];
?>

Like I said, its basic but its functional.

spamofon 11-12-2003 12:03 AM

Quote:

Originally posted by Rivux
If you want something super basic, you can use the code below. All you need is a plain text file with the link and image tag in the file, one per line. Call the file ads.txt if you want.

PHP Code:

<a href="somesite.com"><img src="ads/banner.jpg"></a

then whereever you want the banner to be, paste this code in.

PHP Code:

<?
$items = file("ads.txt"); 
$item = rand(0, sizeof($items)-1); 
echo $items[$item];
?>

Like I said, its basic but its functional.

nice and simple

php is the best

OzMan84 11-12-2003 12:03 AM

or you can give me $20 and ill make you one:thumbsup

Reak 11-12-2003 12:04 AM

Quote:

Originally posted by OzMan84
or you can give me $20 and ill make you one:thumbsup
no

malakajoe 11-12-2003 12:05 AM

Quote:

Originally posted by spamofon
Anyone? :helpme
If you need alot of extras, check out PHPAdsNew .

It will track amount of clicks, and then show my popular banners more. Also, if you sell banner advertising, you can give your customers a login to manage there banners. Plus alot more.

spamofon 11-12-2003 12:14 AM

Quote:

Originally posted by malakajoe


If you need alot of extras, check out PHPAdsNew .

It will track amount of clicks, and then show my popular banners more. Also, if you sell banner advertising, you can give your customers a login to manage there banners. Plus alot more.

thanks :)

MandyD 11-12-2003 01:29 AM

Quote:

Originally posted by malakajoe


If you need alot of extras, check out PHPAdsNew .

It will track amount of clicks, and then show my popular banners more. Also, if you sell banner advertising, you can give your customers a login to manage there banners. Plus alot more.


:thumbsup

kmanrox 11-12-2003 01:32 AM

http://www.cgi-resources.com

OzMan84 11-12-2003 01:39 AM

awwww come on, it was worth a try to make $20 for doing something so easy:winkwink: :321GFY

johnbosh 11-12-2003 01:43 AM

Just use the easy free one:D

integrated 11-12-2003 01:50 AM

Quote:

Originally posted by OzMan84
awwww come on, it was worth a try to make $20 for doing something so easy:winkwink: :321GFY
sale you sig maybe you can make 25 cents per post


All times are GMT -7. The time now is 10:12 PM.

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