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 Mark Forums Read
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 04-10-2008, 09:10 AM   #1
chrisl
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
__________________

>>> ThaiChix-Cash.com <<<
>>> ThaiChix.com <<<
Top Ten Asian Site On All Review Sites!!!!
chrisl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:13 AM   #2
Czech
Confirmed User
 
Join Date: Oct 2005
Posts: 2,694
It works fine
Czech is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:13 AM   #3
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,229
matches here.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:18 AM   #4
gleem
Confirmed User
 
gleem's Avatar
 
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
gleem is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:19 AM   #5
Isradude
Confirmed User
 
Isradude's Avatar
 
Join Date: Mar 2008
Location: Toronto
Posts: 1,842
works
__________________
Amit "Isradude"
ICQ - 395509039
Isradude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:23 AM   #6
Zorgman
Confirmed User
 
Zorgman's Avatar
 
Join Date: Aug 2002
Location: Sydney, Australia
Posts: 6,103
works here. au
__________________
---
Zorgman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:24 AM   #7
halfpint
GFY's Halfpint
 
halfpint's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: UK
Posts: 15,223
it just says ".com" over here in the UK
__________________

Get FREE website listings on Cryptocoinshops.net
halfpint is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:25 AM   #8
chrisl
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.
__________________

>>> ThaiChix-Cash.com <<<
>>> ThaiChix.com <<<
Top Ten Asian Site On All Review Sites!!!!
chrisl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:26 AM   #9
Spyce
Confirmed User
 
Spyce's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: US
Posts: 335
I got the .com... must be working :-)
__________________
Spyce



Our content feeds, your design - now starting at only $0.49 per gb - NO MINIMUMS!
Spyce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:27 AM   #10
100
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
100 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:27 AM   #11
Ditosta
Confirmed User
 
Ditosta's Avatar
 
Join Date: May 2006
Location: http://www.neonasty.com
Posts: 2,107
Doesnt' work for me here in Canada
__________________
306213883

New Pantyhose Fetish Model
LilyDouce.com Rhinopays.com
Ditosta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:27 AM   #12
chrisl
Confirmed User
 
Join Date: Dec 2006
Posts: 142
it wont be 100&#37; bulletproof it depends on what extention your internet host has
__________________

>>> ThaiChix-Cash.com <<<
>>> ThaiChix.com <<<
Top Ten Asian Site On All Review Sites!!!!
chrisl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:29 AM   #13
chrisl
Confirmed User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by 100 View Post
from Argentina - .ar is incorrect, in Argentina not exist domains .ar
all is .com.ar
But .ar will define your address as Argentina and that is the information I need
__________________

>>> ThaiChix-Cash.com <<<
>>> ThaiChix.com <<<
Top Ten Asian Site On All Review Sites!!!!
chrisl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:30 AM   #14
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
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];

Last edited by k0nr4d; 04-10-2008 at 09:32 AM..
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:32 AM   #15
Reak AGV
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!
Reak AGV is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:33 AM   #16
chrisl
Confirmed User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by Ditosta View Post
Doesnt' work for me here in Canada
What does it say? Your provider may have a .com extension?!
__________________

>>> ThaiChix-Cash.com <<<
>>> ThaiChix.com <<<
Top Ten Asian Site On All Review Sites!!!!
chrisl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:34 AM   #17
100
Confirmed User
 
Industry Role:
Join Date: May 2006
Posts: 227
Quote:
Originally Posted by chrisl View Post
But .ar will define your address as Argentina and that is the information I need
aj, ok
100 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:38 AM   #18
chrisl
Confirmed User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by k0nr4d View Post
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];
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.
__________________

>>> ThaiChix-Cash.com <<<
>>> ThaiChix.com <<<
Top Ten Asian Site On All Review Sites!!!!
chrisl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 09:55 AM   #19
chrisl
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
__________________

>>> ThaiChix-Cash.com <<<
>>> ThaiChix.com <<<
Top Ten Asian Site On All Review Sites!!!!
chrisl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 10:11 AM   #20
Eriic
So Fucking Banned
 
Join Date: Jan 2008
Posts: 2,995
it says " .net "

I use firefox 2.0.0.13
Eriic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 11:36 AM   #21
chrisl
Confirmed User
 
Join Date: Dec 2006
Posts: 142
any more people willing to give it a shot?
__________________

>>> ThaiChix-Cash.com <<<
>>> ThaiChix.com <<<
Top Ten Asian Site On All Review Sites!!!!
chrisl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 11:42 AM   #22
mrwilson
mrwilson 2.0
 
Industry Role:
Join Date: Jul 2007
Location: ICQ: 465406783
Posts: 5,122
.uk for me
mrwilson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 11:43 AM   #23
martinsc
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
martinsc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 12:36 PM   #24
CaptainHowdy
Too lazy to set a custom title
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 93,572
!
CaptainHowdy 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
Thread Tools



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.