File tree Expand file tree Collapse file tree 1 file changed +20
-12
lines changed
Expand file tree Collapse file tree 1 file changed +20
-12
lines changed Original file line number Diff line number Diff line change 1- <kml xmlns =" http://earth.google.com/kml/2.0" >
2- <Document >
3- <NetworkLink >
4- <name >Habitat Mobile Tracker</name >
5- <Url >
6- <href >http://spacenear.us/tracker/datanew.php?format=kml</href >
7- <refreshMode >onInterval</refreshMode >
8- <refreshInterval >20</refreshInterval >
9- </Url >
10- </NetworkLink >
11- </Document >
12- </kml >
1+ <?php
2+ header(' Content-Type: application/vnd.google-earth.kml+xml' );
3+
4+ parse_str($_SERVER[' QUERY_STRING' ], $tmp);
5+ $qstr = htmlspecialchars (http_build_query($tmp));
6+
7+ ?>
8+ <kml xmlns =" http://earth.google.com/kml/2.0" >
9+ <Document >
10+ <NetworkLink >
11+ <name >Habitat Mobile Tracker</name >
12+ <Url >
13+ <href >http://spacenear.us/tracker/datanew.php?format=kml& <?=$qstr?></href >
14+ <refreshMode >onInterval</refreshMode >
15+ <refreshInterval >20</refreshInterval >
16+ </Url >
17+ </NetworkLink >
18+ </Document >
19+ </kml >
20+
You can’t perform that action at this time.
0 commit comments