get_kml.php 217 Bytes EditWeb IDE 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); ?>