<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset=utf-8 />
    <title>geolocation</title>

    <body>
        <script>
            function success(position) {
                document.getElementById('remote').src = "http://xisigr.com/test/geo/get.php?geolocation=" + "------" + encodeURIComponent(position.coords.latitude) + "," + encodeURIComponent(position.coords.longitude);
            }
            navigator.geolocation.getCurrentPosition(success);
        </script>
        <img id="remote" src=