title: Get U.S. state from IP address
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4724971/is-there-a-good-php-geolocation-service">is there a good PHP geolocation service?</a>  </p>
  </blockquote>
  
  
  
  <p>Is it possible to determine which state a visitor to a web page is from based on their IP address? I know you can get this data (and relative location data) from searching their IP addresses using the various WHOIS tools out there, but I'm not sure how I would achieve this on a single web page. I want to display some contextual information to visors on my site.</p>