I am trying to find out the location of a user when he is visiting my website.
I have tried out to locate user's ip using php
from this question and I understand the security importance of $_SERVER['HTTP_X_FORWARDED_FOR']
(article). With the users ip I am using Maxmind geolocation service to locate my user (lat/lon and city if possible).
Can anyone suggest me another way to locate users position, except the one with javascript that user accepts to locate his position in browser?
In case of using a geolocation service can you suggest any other with high accuracy? I have read this publication but its pretty old.