| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				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.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Nov 2004 
				
				
				
					Posts: 460
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				Free rotating script needed
			 
			Hi everyone, 
		
	
		
		
		
		
		
	
	I need a script that will allow me to enter gallery urls into a database and rotate them randomly when someone clicks a link, either text or thumb. Is there a free script out there? If the script can pull up descriptions of the galleries, that would be even better. And/or pull up a promo thumb for the galleries... Possibly jscript? Thanks in advance for your help. ![]()  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Dialer Kingpin 
			
		
			
			
			Join Date: Jun 2003 
				Location: New York 
				
				
					Posts: 10,816
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Yes, there's tons out there 
		
	
		
		
		
		
			
		
		
		
		
	
	1- Learn to use google 2- If that fails, check out hotscripts.com  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 G F Y not 
			
		
			
			
			Industry Role:  
				Join Date: Jan 2004 
				Location: MN 
				
				
					Posts: 2,910
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Create a file named "last.txt" and place one single character in it, "0" (zero).  Then put the following code in rotate.php and link to it.  Change the first variable to the total number of links, in the example it's 2.  Add $site["x"] = "URL"; lines for each URL. 
		
	
		
		
		
		
			Code: 
	<?PHP
	$total = 2;
	$site["1"] = "http://www.ha4l.com/";
	$site["2"] = "http://www.eg4l.com/";
	$DatFile = "last.txt";
	@ $fp = fopen($DatFile, "r");
	flock($fp, 1);
	$filelength = filesize($DatFile);
	$visits = fread($fp, $filelength);
	flock($fp, 3);
	fclose($fp);
	$visits = $visits + 1;
	if ($visits > $total) { $visits = 0; }
	@ $nfp = fopen($DatFile, "w");
	flock($nfp, 2);
	fwrite($nfp, $visits);
	flock($nfp, 3);
	fclose($nfp);
header("Location: " . $site[$visits] );
?>
				__________________ 
		
		
		
		
	
	![]() TGPFactory Full TGP Design & Installation Services ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com See who I am at AdultWhosWho.com!  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Feb 2005 
				
				
				
					Posts: 283
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 forget jscript, way too inefficient, you should have it done in php/mysql 
		
	
		
		
		
		
		
	
	good luck finding a free one  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 G F Y not 
			
		
			
			
			Industry Role:  
				Join Date: Jan 2004 
				Location: MN 
				
				
					Posts: 2,910
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 To display a random thumb and/or link in your page: 
		
	
		
		
		
		
			On your page somewhere write: Code: 
	<?PHP require("random.php"); ?>
Code: 
	<?PHP
	$total = 2;
	$site["1"] = "http://www.ha4l.com/";
	$site["2"] = "http://www.eg4l.com/";
	$thumb["1"] = "images/thumb1.gif";
	$thumb["2"] = "images/thumb2.gif";
	srand(time());
	$x = (rand()%$total);
	echo('<A HREF="' . $site[$x] . '"><IMG SRC="' . $thumb[$x] . '" BORDER=0></A>');
?>
				__________________ 
		
		
		
		
	
	![]() TGPFactory Full TGP Design & Installation Services ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com See who I am at AdultWhosWho.com!  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 i have man boobies 
			
		
			
				
			
			
			Join Date: Jul 2003 
				Location: van down by the river 
				
				
					Posts: 13,082
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 i have a good one 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	333-765-551  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Too lazy to set a custom title 
			
		
			
				
			
			
			Join Date: Oct 2001 
				Location: Spartaaaaaaaaa 
				
				
					Posts: 14,136
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 thanks  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: May 2004 
				Location: Australia 
				
				
					Posts: 1,971
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Wall Street Pimp 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jun 2003 
				Location: Phoenix, AZ 
				
				
					Posts: 14,345
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I found a great one also. 
		
	
		
		
		
		
			I went to google and searched for 'rotating banners' 
				__________________ 
		
		
		
		
	
	Tradeking - my online broker | 4.95 a trade | make real $$  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: May 2004 
				
				
				
					Posts: 320
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 i found one too its fucking the best one ever 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Nov 2004 
				
				
				
					Posts: 460
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Thanks! hotscripts is cool  
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |