get_kml.php 217 Bytes
Newer Older
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php

$kmlFile=$_GET['kml'];//"map_points.kml";


$kml=file_get_contents($kmlFile);

header("Content-Type: text/xml\n");
header("Content-Length: ".strlen($kml)."\n");
header("Pragma: no-cache\n");
echo ($kml);   

?>