Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Finding out which country a user comes from using $_ENV[HTTP_...]

by George_Sherston (Vicar)
on May 01, 2003 at 16:33 UTC ( [id://254699]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use CGI;
    use Geo::IPfree qw(LookUp);
    my ($countrycode,$country) = LookUp($cgi->remote_host);
    print $countrycode,"\n",$country;
    
  2. or download this
    GB
    United Kingdom
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-03-28 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found