echo "<script>
$.ajax({
url: \"test.php\",
type : \"POST\",
data : {'distance':'distance'},
success: function (responseText) {
console.log(responseText);
}});
</script>";
$response =
@file_get_contents(
$host
. $path_page
.'?test='. strip_tags($_POST['distance'])
);