PHP: How do I find out if someone is from the US from his/her IP Address?
        Posted  
        
            by lucha libre
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by lucha libre
        
        
        
        Published on 2009-10-15T19:30:03Z
        Indexed on 
            2010/05/01
            21:37 UTC
        
        
        Read the original article
        Hit count: 191
        
ip-geolocation
|php
I don't want anything incredibly complicated. I am working on a client outside the US, and I just want a basic check to see if someone is accessing his page from the US or not. After that, I am going to default the language in either English or Spanish, after determining where the visitor is from.
Thanks.
© Stack Overflow or respective owner