$(document).ready(function () {
ymaps.ready(function () {
var geolocation = ymaps.geolocation;
var region = geolocation.region;
$.ajax({
url: "1.php",
type: "POST",
data: {region:region}
});
});
});
$regionprimer = $_POST['region'];
echo $regionprimer;