in reply to Re: Changing the content type
in thread Changing the content type

Many thanks, adding the content-disposition worked a charm

I had a bt of a thick moment as you have to remove the

print "Content-type: application/vnd.google-earth.kml+xml\n\n";
line for the content disposition to work.

Many thanks monks