List Info

Thread: Can't open PHP-generated KML from GE




Can't open PHP-generated KML from GE
user name
2006-10-05 15:17:58
Hi

It's a link to the script. Looks like you can be right
regarding the
line-by-line output, my script really outputs kml in that
way. Tomorrow
I'll try to replace it with buffered output and will report
here about
my results. File associations are fine, naturally..

Hm, that's really strange - why don't GE waits for the whole
KML until
it EOFs..

Alex


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "google earth" group.
To post to this group, send email to google-earthgooglegroups.com
To unsubscribe from this group, send email to
google-earth-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/google-earth
-~----------~----~----~----~------~----~------~--~---

Can't open PHP-generated KML from GE
user name
2006-10-06 08:19:43
Hi,

OK, I've fixed that. What I actually missed is that I should
set some
proper HTTP headers in PHP script that generated the KML. I
think this
one is the most important:

header('Content-Disposition: inline;
filename=yourfilename.kml');

Alex


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "google earth" group.
To post to this group, send email to google-earthgooglegroups.com
To unsubscribe from this group, send email to
google-earth-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/google-earth
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )