Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How to check the origin ofi a visitor?

by jaldhar (Vicar)
on Jun 19, 2004 at 21:31 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://368209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found