Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How to check the origin ofi a visitor?

by jaldhar (Vicar)
on Jun 19, 2004 at 21:31 UTC ( #368209=note: print w/ replies, xml ) Need Help??


in reply to How to check the origin ofi a visitor?

You're possibly thinking of $LANG and the $LC* environment variables but they are about language and cultural features (such as currency symbols) not country.

There are some methods for mapping IPs to countries but do not rely on them. For instance I noticed that many Indian ISPs resell accounts from US ISPs. A visitor from one of them would show up as American not Indian. So why not just ask instead of trying to guess?

--
જલધર


Comment on Re: How to check the origin ofi a visitor?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://368209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-07-13 21:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (252 votes), past polls