|   |   |   | ||||
| 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 | 
|  04-10-2008, 09:10 AM | #1 | 
| Confirmed User Join Date: Dec 2006 
					Posts: 142
				 | 
				
				Need your help test a small script ;)
			 If you go to this page http://www.thaichix.com/test.php what does it say in your browser? Does it match the country your in? Cheers ChrisL 
				__________________ | 
|   |           | 
|  04-10-2008, 09:13 AM | #2 | 
| Confirmed User Join Date: Oct 2005 
					Posts: 2,694
				 | It works fine   | 
|   |           | 
|  04-10-2008, 09:13 AM | #3 | 
| Confirmed User Industry Role:  Join Date: Aug 2006 Location: Poland 
					Posts: 9,229
				 | matches here. 
				__________________ Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development | 
|   |           | 
|  04-10-2008, 09:18 AM | #4 | 
| Confirmed User Industry Role:  Join Date: Jun 2001 Location: Sunny Land 
					Posts: 5,593
				 | just says ".net" in mine - using safari 3.1 here. 
				__________________ Contact me: \\// E: webmaster /at/ unprofessional.com | 
|   |           | 
|  04-10-2008, 09:19 AM | #5 | 
| Confirmed User Join Date: Mar 2008 Location: Toronto 
					Posts: 1,842
				 | works   
				__________________ Amit "Isradude" ICQ - 395509039 | 
|   |           | 
|  04-10-2008, 09:23 AM | #6 | 
| Confirmed User Join Date: Aug 2002 Location: Sydney, Australia 
					Posts: 6,103
				 | works here. au 
				__________________ --- | 
|   |           | 
|  04-10-2008, 09:24 AM | #7 | 
| GFY's Halfpint Industry Role:  Join Date: Jun 2007 Location: UK 
					Posts: 15,223
				 | it just says ".com"  over here in the UK | 
|   |           | 
|  04-10-2008, 09:25 AM | #8 | 
| Confirmed User Join Date: Dec 2006 
					Posts: 142
				 | hehe cool, keep it coming ;) This is great! Going to use it to match the currency on our site for the new ccbill regional feature. 
				__________________ | 
|   |           | 
|  04-10-2008, 09:26 AM | #9 | 
| Confirmed User Industry Role:  Join Date: Dec 2002 Location: US 
					Posts: 335
				 | I got the .com... must be working :-) | 
|   |           | 
|  04-10-2008, 09:27 AM | #10 | 
| Confirmed User Industry Role:  Join Date: May 2006 
					Posts: 227
				 | from Argentina - .ar is incorrect, in Argentina not exist domains .ar all is .com.ar  | 
|   |           | 
|  04-10-2008, 09:27 AM | #11 | 
| Confirmed User Join Date: May 2006 Location: http://www.neonasty.com 
					Posts: 2,107
				 | Doesnt' work for me here in Canada | 
|   |           | 
|  04-10-2008, 09:27 AM | #12 | 
| Confirmed User Join Date: Dec 2006 
					Posts: 142
				 | it wont be 100% bulletproof it depends on what extention your internet host has 
				__________________ | 
|   |           | 
|  04-10-2008, 09:29 AM | #13 | 
| Confirmed User Join Date: Dec 2006 
					Posts: 142
				 | But .ar will define your address as Argentina and that is the information I need 
				__________________ | 
|   |           | 
|  04-10-2008, 09:30 AM | #14 | 
| Confirmed User Industry Role:  Join Date: Aug 2006 Location: Poland 
					Posts: 9,229
				 | sounds like all he is doing is reading the end of the domain name from your hostname... i bet the code looks like this: $array = explode('.',$hostname); $array = array_reverse($array); echo $array[0]; 
				__________________ Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development | 
|   |           | 
|  04-10-2008, 09:32 AM | #15 | 
| Confirmed User Join Date: Dec 2004 Location: Unknown 
					Posts: 4,283
				 | It says ''.237'' I'm confused. 
				__________________ Need Mainstream Content and SEO? SEO * Website Copy * Blogs Blogging - PR Work - Forum Marketing - Social Marketing - Link building - Articles 100% Guaranteed Content! | 
|   |           | 
|  04-10-2008, 09:33 AM | #16 | 
| Confirmed User Join Date: Dec 2006 
					Posts: 142
				 | What does it say? Your provider may have a .com extension?! 
				__________________ | 
|   |           | 
|  04-10-2008, 09:34 AM | #17 | 
| Confirmed User Industry Role:  Join Date: May 2006 
					Posts: 227
				 | |
|   |           | 
|  04-10-2008, 09:38 AM | #18 | 
| Confirmed User Join Date: Dec 2006 
					Posts: 142
				 | Not exactly but very close, very simple nothing fancy just wanted to test it out ;) It's impossible to get 100% correct what ever you do, just needed something to catch most of the surfers. If the script don't have a match i will just fall back to dollar. 
				__________________ | 
|   |           | 
|  04-10-2008, 09:55 AM | #19 | 
| Confirmed User Join Date: Dec 2006 
					Posts: 142
				 | re: It is a very simple script it try to catch the Internet host by extension in order to match it against the countries in europe so we may change the currency shown on our page to match the new regional feature by ccbill. It will work in reverse so everything that does not have an extension like Code: $eu_countries = array("at","be","cy","fi","fr","de","gr","ie","it" ,"lu","mt","nl","pt","si","es","mc","sm","va"); will become dollar ;) ChrisL 
				__________________ | 
|   |           | 
|  04-10-2008, 10:11 AM | #20 | 
| So Fucking Banned Join Date: Jan 2008 
					Posts: 2,995
				 | it says " .net "  I use firefox 2.0.0.13 | 
|   |           | 
|  04-10-2008, 11:36 AM | #21 | 
| Confirmed User Join Date: Dec 2006 
					Posts: 142
				 | any more people willing to give it a shot? 
				__________________ | 
|   |           | 
|  04-10-2008, 11:42 AM | #22 | 
| mrwilson 2.0 Industry Role:  Join Date: Jul 2007 Location: ICQ:  465406783 
					Posts: 5,122
				 | .uk for me | 
|   |           | 
|  04-10-2008, 11:43 AM | #23 | 
| Too lazy to set a custom title Industry Role:  Join Date: Jun 2005 Location: 127.0.0.1 
					Posts: 27,047
				 | says .net for me.... Israel 
				__________________ Make Money | 
|   |           | 
|  04-10-2008, 12:36 PM | #24 | 
| Too lazy to set a custom title Industry Role:  Join Date: Dec 2004 Location: Happy in the dark. 
					Posts: 93,664
				 |  ! 
				__________________ Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted Windows VPS now available Great for TSS, Nifty Stats, remote work, virtual assistants, etc. | 
|   |           |