I have been looking around Google and SO for a way to get the GPS location of a user using a mobile phone with PHP. However, the only solutions I have found use Javascript, and I would rather not have to do some complicated stuff using Javascript when I can just add some PHP code to my already existing system.
My question is simple: How can I get the GPS location of somebody browsing my site with PHP, instead of Javascript?
Additionally: If I have to use Javascript, how can I access the value from PHP? Also, is there any way to get a city/country from this GPS location, or possibly another method to get the city/country?