Status
Not open for further replies.

simonn

Banned
Banned
12
2013
0
0
Hi,

I am looking for a script in PHP that will grasp my current location(not just latitude and longitude - the partial address of the location) if I happen to access say my script from my phone browser and the data be then stored on my server so that I can further analyze the data.

Thanks in advance
 
3 comments
HTML5 supports geo location:
Code:
http://diveintohtml5.info/geolocation.html
This is highly recommended as its becoming a standard and it will ask the user if they wish to share their location, This avoids any unethical methods and privacy implications. It will give you lat and long.

I'm not that clued up on it but i do know that it uses the last logged gps location so i'm assuming if you have gps turned the phone will auto update your location so it will be fairly accurate. If the gps is turned off it will try to figure out where you are based on the ip of the network you are on.
 
Last edited:
Status
Not open for further replies.
Back
Top