Want to get the Exact Location of the visitor of the website

Discussion in 'PHP' started by salmanshafiq, Sep 29, 2014.

  1. #1
    Hi All,

    I want to get the exact location of visitor of the website. Google GEOLocation provide the location of the ISP provide through IP but I want the exact location .. Is there any way to get that?

    Thanks in advance...
     
    salmanshafiq, Sep 29, 2014 IP
  2. Argento

    Argento Active Member

    Messages:
    69
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    53
    #2
    Hi, one of the best options to use it is MaxMind, for me was the most acuarate service.

    https://www.maxmind.com/en/home?pkit_lang=en

    You have to build a cron job and once time per month you save the ip ranges on your database, then you just take the user ip and compare it with the stored ones.

    Good luck !
     
    Argento, Sep 30, 2014 IP
  3. salmanshafiq

    salmanshafiq Well-Known Member

    Messages:
    260
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Thanks for your help.. I need the exact locations Latitude and Longitude ... But I think it's not possible through System ... but possible with the mobile device (Because mobile devices have the GPS system)
     
    salmanshafiq, Sep 30, 2014 IP
  4. huyhoa

    huyhoa Active Member

    Messages:
    214
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    It hard to say that you can attracted exactly location (latitude and longitude) of visitor, because it depend on database of ISP and location database. Im running many website that getting the location of visitor by IP. My code is using fraudlabs dot com free API.
    It's free to try with 90 connect per month.
    If you need help, please tell details exactly code do you want, so i will try my best.
     
    huyhoa, Oct 1, 2014 IP
  5. salmanshafiq

    salmanshafiq Well-Known Member

    Messages:
    260
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #5
    I just need to get the latitude and longitude for the Visitor .... within Dubai.
     
    salmanshafiq, Oct 1, 2014 IP