I am currently obtaining geolocation based on gps of device using JavaScript. Problem is that I need to use the location information in my PHP code. My work around is forwarding the geolocation request to a different page that includes the JavaScript and then posting the location data back via a form.
This is slow and there has to be a faster way.
Any ideas?