| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				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 | 
| 
			
			
			
			 Affiliate 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2002 
				Location: Icq: 94-399-723 
				
				
					Posts: 24,433
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				Looking for a simple script if someone could help that would be great
			 
			I want to show 5 categories with thumb and a link out from like 50 different categories, how can i do that in the most simple way? 
		
	
		
		
		
		
			
		
		
		
		
		
			
		
		
	
	the easiest for me would be insert html for each category, and it will pull 5 random out of the bunch, any scripts like that?  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 ►SouthOfHeaven 
			
		
			
				
			
			
			Join Date: Jun 2004 
				Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer 
				
				
					Posts: 28,609
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 make a seperator , lets use ~ for this example 
		
	
		
		
		
		
			save as randomhtml.txt <br> some html<div>blah</div ~ <center> some more html <i>test ~ etc ~ etc then save this as puller.php <?php // get html list $html = file_get_contents("randomhtml.txt"); // split html segments into an array $exh = explode("~",$html); // shuffle them shuffle($exh); // take 5 of them put them together into a string $fiverandom = "$exh[0] $exh[1] $exh[2] $exh[3] $exh[4]"; //output the 5 to browser echo $fiverandom; ?> 
				__________________ 
		
		
		
		
	
	hatisblack at yahoo.com  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 ►SouthOfHeaven 
			
		
			
				
			
			
			Join Date: Jun 2004 
				Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer 
				
				
					Posts: 28,609
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 you can pull these 5 elements into any webpage now by including this tag 
		
	
		
		
		
		
			<?php include("http://yoursite.com/puller.php"); ?> 
				__________________ 
		
		
		
		
	
	hatisblack at yahoo.com  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Affiliate 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2002 
				Location: Icq: 94-399-723 
				
				
					Posts: 24,433
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 awesome thank you very much smokey much appreciated  
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			 Affiliate 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2002 
				Location: Icq: 94-399-723 
				
				
					Posts: 24,433
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 thanks again!  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |