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
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 11-11-2003, 11:56 PM   #1
spamofon
Confirmed User
 
Join Date: Jun 2003
Location: Toronto
Posts: 2,999
Script for a radom(rotating) banners?

Anyone?
spamofon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-11-2003, 11:58 PM   #2
Reak
So Fucking Banned
 
Join Date: Mar 2003
Location: 420Calendar.com
Posts: 17,920
www.hotscripts.com ?
Reak is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 12:00 AM   #3
Rivux
Confirmed User
 
Join Date: May 2001
Location: Ontario, Canada
Posts: 1,026
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.
Rivux is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 12:03 AM   #4
spamofon
Confirmed User
 
Join Date: Jun 2003
Location: Toronto
Posts: 2,999
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
spamofon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 12:03 AM   #5
OzMan84
Confirmed User
 
Join Date: Nov 2003
Location: Australia
Posts: 4,740

or you can give me $20 and ill make you one
__________________
XferClick - 300,000 UV daily and growing quickly. Majority US, EU, CA and AU traffic. Contact me for more information
ICQ: 304568058
OzMan84 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 12:04 AM   #6
Reak
So Fucking Banned
 
Join Date: Mar 2003
Location: 420Calendar.com
Posts: 17,920
Quote:
Originally posted by OzMan84
or you can give me $20 and ill make you one
no
Reak is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 12:05 AM   #7
malakajoe
Confirmed User
 
Join Date: Feb 2003
Location: Sacramento
Posts: 1,751
Quote:
Originally posted by spamofon
Anyone?
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.
__________________
Selfpleasure.com for sale on auction. Closes on Tuesday March 11th at 9pm PST!!!!

Dirty enough to be good, but clean enough for everyone!
------------------------------------------------------------------

Moral Police - First graduating class coming soon! - Forcing our values across the internet
malakajoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 12:14 AM   #8
spamofon
Confirmed User
 
Join Date: Jun 2003
Location: Toronto
Posts: 2,999
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
spamofon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 01:29 AM   #9
MandyD
Confirmed User
 
Join Date: Dec 2002
Posts: 477
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.

__________________
Babes Links
MandyD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 01:32 AM   #10
kmanrox
aka K-Man
 
kmanrox's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,292
http://www.cgi-resources.com
__________________
Crypto HODLr
Crypto mining
Angel investor
kmanrox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 01:39 AM   #11
OzMan84
Confirmed User
 
Join Date: Nov 2003
Location: Australia
Posts: 4,740
awwww come on, it was worth a try to make $20 for doing something so easy
OzMan84 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 01:43 AM   #12
johnbosh
Confirmed User
 
Join Date: Aug 2002
Location: The Netherlands, Rotterdam
Posts: 8,965
Just use the easy free one:D
johnbosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2003, 01:50 AM   #13
integrated
Confirmed User
 
Join Date: Apr 2003
Location: west end
Posts: 3,826
Quote:
Originally posted by OzMan84
awwww come on, it was worth a try to make $20 for doing something so easy
sale you sig maybe you can make 25 cents per post
__________________

Pioneer of .TV domains
Grandfather of .TV development
Respected among industry LEADERS
integrated 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



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.