title: How to detect country / location of visitor?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2574542/location-detecting-techniques-for-ip-addresses">Location detecting techniques for IP addresses</a>  </p>
  </blockquote>
  
  
  
  <p>For our website it's important to know from exactly which country our visitor is coming from.</p>
  
  <p>I guess the best answer for my question would be the simple geo location feature of current browser systems, which just ask the user if the website is allowed to see his geographic location: <a href="http://dev.w3.org/geo/api/spec-source.html" rel="nofollow noreferrer">http://dev.w3.org/geo/api/spec-source.html</a></p>
  
  <p>but I don't want to bother visitor with questions, I would love to automatically detects the visitor's location (country should be enough.)</p>
  
  <p>What's the best way to do this?
  - what ip database would be the best?
  - is the browser header trustable enough to detect his country? (en-us en-en en-ca?)
  What's the best solution?</p>