This question already has an answer here:
- Getting the location from an IP address 24 answers
I am researching ways of making ads actually relevant to people. How can I get the location of a visitor, who just loaded my page? I'm not talking IP Geo-location
, I'm talking the exact latitude and longitude of a user, that I could later store in a database. Is there an API
or something to allow me to get those values in PHP
variables, using something like GPS
?
</div>