diff geotemco/php/download.php @ 11:389cf726303e

mode=1, and add download.php
author nylin@mpiwg-berlin.mpg.de
date Tue, 27 Oct 2015 15:05:07 +0100
parents 57bde4830927
children
line wrap: on
line diff
--- a/geotemco/php/download.php	Fri Oct 23 15:50:00 2015 +0200
+++ b/geotemco/php/download.php	Tue Oct 27 15:05:07 2015 +0100
@@ -1,3 +1,4 @@
+<?php
 <?php
 /*
 * proxy.php
@@ -28,7 +29,7 @@
 	$mime = array('application/octet-stream');
 	
 	header('Content-Type: '.$mime);
-	header('Content-Disposition: attachment; filename="test.kml"');
+	header('Content-Disposition: attachment; filename="download.kml"');
 	header('Content-Transfer-Encoding: binary');
 	header('Content-Length: '.sprintf('%d', $filesize));
 	header('Expires: 0');