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 10-05-2004, 03:07 PM   #1
MrIzzz
If u touch it, I will cum
 
Join Date: Sep 2003
Location: long island
Posts: 22,923
i need a good banner rotation script

non- j a v a s c r i p t

anyone have any good reccomendations?
__________________


WHO WANTS TO PLAY GRAB-ASS?
MrIzzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 03:09 PM   #2
marzzo
Confirmed User
 
marzzo's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 2,134
simple one:

PHP Code:
<?
mt_srand((float)microtime()*1000000); 
$f=file("your_gallery_list_here.txt"); 
$u=trim($f[mt_rand(0,sizeof($f)-1)]); 
header("Location: $u"); 
?>
marzzo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 03:11 PM   #3
Mike Panic
Confirmed User
 
Join Date: Aug 2004
Location: pa
Posts: 425
PHP Code:
<?php

$banners 
= array();
$urls = array();

// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// 
// To add or subtract banners you must make a new/delete an entry in this file.  Each record 
// has two parts, the banner and url.  put in the full path to the image in the banner line, 
// and the full url of the link in the url line.  The numbers in the records MUST stary at 0 
// and have to be in order, you cannot skip a number or a "blank" banner will show up.
//
// To show this script on a page include to following code:
// <SCRIPT LANGUAGE="JAVASCRIPT" SRC="http://www.yoursite.com/ads/banner.php?show"></SCRIPT>
//
// but replace the url with the path to where you uploaded the banner.php file, "?show" must
// remain apended to the name for it to load inside your current page.
// 
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


   
$banners[0] = "http://www.gettipsy.com/banner.gif";
   
$urls[0] = "http://www.gettipsy.com";   
      
               
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Do NOT change anything below this line
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$run getenv(QUERY_STRING);

srand((double)microtime()*1000000);
$randval rand(0,count($banners)-1);

if(
$run hahahaha 'show') { echo "document.write(\"<a href=".$urls[$randval]." target=_new><img src=".$banners[$randval]." border=0></a>\");"; }
else { echo 
"<a href=".$urls[$randval]." target=_new><img src=".$banners[$randval]." border=0></a>"; }

?>
to add more banners, simply copy the first one and replce [0] w/ [1] and so on down the line...
__________________
hire me
Mike Panic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 03:11 PM   #4
Napolean
Old school
 
Napolean's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: Kettering, OH
Posts: 4,327
edited: ill hold off for a bit
__________________
Need a programmer? (Desktop/Web Applications) --- Skype: napoleande
Napolean is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 03:13 PM   #5
lb_vee
Confirmed User
 
Join Date: May 2004
Posts: 886
I dont know if its overkill, but phpAdsNew is pretty kick ass. You can manage banners, campaigns, zones and all. Decent stats too.
lb_vee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 03:13 PM   #6
Adultnet
Confirmed User
 
Join Date: Sep 2003
Posts: 8,713
hit me up on icq i will get you a custom power full script with anything you want.
icq 210-623-566
__________________


TrafficCashGold Paying Webmasters Since 1996!

Awesome Conversions! Fast Weekly Payments! Over 125 Tours!
Adultnet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 03:42 PM   #7
MrIzzz
If u touch it, I will cum
 
Join Date: Sep 2003
Location: long island
Posts: 22,923
very cool, thanks everybody. i'm gonna try out that bit of code, and if i need anything further i'll get in touch with some of you
__________________


WHO WANTS TO PLAY GRAB-ASS?
MrIzzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 03:58 PM   #8
MrIzzz
If u touch it, I will cum
 
Join Date: Sep 2003
Location: long island
Posts: 22,923
yooooooooooo mike panic, what do the hahahahas stand for? gFY censored them, lol

if($run hahahaha 'show') { echo "document.write(\"<a href=".$urls[$randval]." target=_new><img src=".$banners[$randval]." border=0></a>\");"; }
else { echo "<a href=".$urls[$randval]." target=_new><img src=".$banners[$randval]." border=0></a>"; }
__________________


WHO WANTS TO PLAY GRAB-ASS?
MrIzzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 04:12 PM   #9
dready
Confirmed User
 
dready's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Toronto, ON
Posts: 5,247
phpAdsNew

http://phpadsnew.com/two/
__________________
ICQ: 91139591
dready is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 04:43 PM   #10
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally posted by MrIzzz
yooooooooooo mike panic, what do the hahahahas stand for? gFY censored them, lol

if($run hahahaha 'show') { echo "document.write(\"<a href=".$urls[$randval]." target=_new><img src=".$banners[$randval]." border=0></a>\");"; }
else { echo "<a href=".$urls[$randval]." target=_new><img src=".$banners[$randval]." border=0></a>"; }
ahahhhahhaahahhaahhomoooooooooo
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 04:45 PM   #11
MrIzzz
If u touch it, I will cum
 
Join Date: Sep 2003
Location: long island
Posts: 22,923
Quote:
Originally posted by juicylinks
ahahhhahhaahahhaahhomoooooooooo
translation = "hi, my name is juicy, and i love the cock"
__________________


WHO WANTS TO PLAY GRAB-ASS?
MrIzzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-05-2004, 05:13 PM   #12
Mike Panic
Confirmed User
 
Join Date: Aug 2004
Location: pa
Posts: 425
here:

http://www.mikepanic.com/banner_code.txt

download it and copy/edit it into your fav html browser
__________________
hire me
Mike Panic 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.