| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				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: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				PHP Coders. $30 PayPal first Person who posts...
			 
			The code for an easy script. 
		
	
		
		
		
		
		
		
			
		
		
	
	Details. I need a script that will build a list of character strings and have these variables. & = any letter a - z @ = any number 0 - 9 So if I input &&& it would build a list that looks like. aaa aab aac aad ... ... zzz If I put @&& it would build a list that looks like. 0aa 0ab 0ac .... .... 9zz Also want to be able to add letters or numbers in combination with the variables. So if I put @89&& it would build a list that looks like. 089aa 089ab 089ac ..... ..... 989zz Doesn't need a fancy interface just tell me where I need to change inputs in the file and where to specify the output file and that's it. When you post leave your PayPal addy. As soon as I get it to work I'll send you payment. Feel free to bump  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Oct 2002 
				Location: Canada EH? 
				
				
					Posts: 74
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 you wan tot control how many you get in the list 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I should add.  The first person who posts working code that does exactly what I need. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Bump!!!! 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Workin With The Devil 
			
		
			
			
			Industry Role:  
				Join Date: Oct 2004 
				Location: West Bloomfield, MI 
				
				
					Posts: 51,532
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 good luck on getting that for 30 I wouldnt waste my time doin that for 30 bucks sorry 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2004 
				Location: BASS 
				
				
					Posts: 3,168
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Give me a minute 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	![]() » AIM: slapdotted » Skype: slapdot » ICQ: 190444  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 been very busy 
			
		
			
			
			Join Date: Nov 2002 
				Location: the queen city 
				
				
					Posts: 26,983
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 lotta code for 30 bucks  
		
	
		
		
		
		
		
	
	bump it to 100  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2004 
				Location: BASS 
				
				
					Posts: 3,168
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 PHP Code: 
	
			
	
				__________________ 
		
		
		
		
	
	![]() » AIM: slapdotted » Skype: slapdot » ICQ: 190444  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Workin With The Devil 
			
		
			
			
			Industry Role:  
				Join Date: Oct 2004 
				Location: West Bloomfield, MI 
				
				
					Posts: 51,532
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 my thoughts exactly 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#11 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 I keep hearing that. If it's alot of code how long would it take for someone to code it. In all honesty I figured someone would have had it posted by now.  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Dec 2002 
				Location: Behind the scenes 
				
				
					Posts: 5,190
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 if no one calls on this i could make it. will take about 1h. 
		
	
		
		
		
		
			and by "any" you mean random, right? 
				__________________ 
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2004 
				Location: BASS 
				
				
					Posts: 3,168
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I read your post wrong, I listed code for an easy A-Z index. Haha, sorry. I will add the correct code in a minute 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	![]() » AIM: slapdotted » Skype: slapdot » ICQ: 190444  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#14 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 I figured $30 was reasonable guess not. ICQ me if you want to do it 265054864  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Dec 2002 
				Location: Behind the scenes 
				
				
					Posts: 5,190
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 btw that "any" was confusing, its not any nor random, its from 0 to 9 & from A to Z  
		
	
		
		
		
		
			by your example 
				__________________ 
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#16 | |
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Dec 2002 
				Location: Behind the scenes 
				
				
					Posts: 5,190
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 ok gotta load my icq 1 min 
				__________________ 
		
		
		
		
	
	 | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#17 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 That's right.  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#18 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#19 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Oct 2002 
				Location: Canada EH? 
				
				
					Posts: 74
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 just did a quick assesmnet and htis is a pretty complicated request for $30 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#20 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 holographs got it. 
		
	
		
		
		
		
		
	
	Thanks.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#21 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Oct 2002 
				Location: Canada EH? 
				
				
					Posts: 74
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 damn good job man 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#22 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#23 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: May 2001 
				Location: London, England 
				
				
					Posts: 76
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quite a useful exercise: might give this as a problem to people we interview for coding jobs.  Here's what I just knocked up - had 10 minutes to kill before the paper shop opens - just in case anyone else is in need of a similar morsel of code.  No guarantees: it's worked a couple of times.  Could be improved as well - the obvious one would be to have it cope with an arbitrary number of ?s and @s.  
		
	
		
		
		
		
		
	
	Dave <? // Template $template = "?0?@"; $fn = "/tmp/test"; // Work out limit variables $ll = array(); $ul = array(); $cp = array(); $ix = 0; for ($i=0; $i<strlen($template); $i++) { if (substr($template, $i, 1) hahahaha '@') { $ll[$ix] = 48; $ul[$ix] = 57; $cp[$ix++] = $i; } elseif (substr($template, $i, 1) hahahaha '?') { $ll[$ix] = 97; $ul[$ix] = 122; $cp[$ix++] = $i; } } // Output to file $fp = fopen($fn, "w"); for ($i0=$ll[0]; $i0<=$ul[0]; $i0++) { for ($i1=$ll[1]; $i1<=$ul[1]; $i1++) { for ($i2=$ll[2]; $i2<=$ul[2]; $i2++) { $template = substr_replace($template, chr($i0), $cp[0], 1); $template = substr_replace($template, chr($i1), $cp[1], 1); $template = substr_replace($template, chr($i2), $cp[2], 1); fwrite($fp, "$template\n"); } } } fclose($fp); ?>  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#24 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Oct 2002 
				Location: Canada EH? 
				
				
					Posts: 74
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 ok so i should still keep workin gon mine then, i just thought  holographs was a damn super genious, i am going to get head bbl 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#25 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: May 2001 
				Location: London, England 
				
				
					Posts: 76
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Oh, for fuck's sake, the BBS software appears to have replaced = = (remove the space) with hahahaha in the if.. and elseif.. lines. 
		
	
		
		
		
		
		
	
	--Dave  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#26 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Sep 2003 
				
				
				
					Posts: 8,713
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 yes it take some time to think how to make this.. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	![]() TrafficCashGold Paying Webmasters Since 1996! Awesome Conversions! Fast Weekly Payments! Over 125 Tours!  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#27 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2001 
				Location: Toronto 
				
				
					Posts: 1,782
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#28 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Aug 2003 
				Location: Someplace Windy 
				
				
					Posts: 4,501
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Nice work Dave. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#29 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Sep 2003 
				
				
				
					Posts: 8,713
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 nice one dave..  
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	![]() TrafficCashGold Paying Webmasters Since 1996! Awesome Conversions! Fast Weekly Payments! Over 125 Tours!  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#30 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Oct 2002 
				Location: Canada EH? 
				
				
					Posts: 74
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 good job dave, hats off to you 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#31 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Dec 2002 
				Location: Behind the scenes 
				
				
					Posts: 5,190
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Muff, thanks for the challage, it's a good exersise, my brains needed that. 
		
	
		
		
		
		
			You've got email. Dave, pretty close. 
				__________________ 
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#32 | 
| 
			
			
			
			 Registered User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2005 
				
				
				
					Posts: 17,227
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Good job Dave, but I'm late  
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	FreeOnes  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |