Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

POI editor
#35

@Keith

Try another browser.

Code:
    header('Cache-Control: must-revalidate');
    header('Pragma: hack');
    header('Content-Type: application/octet-stream');
    header('Content-Disposition: attachment; filename="poi.kml"');
    header("Content-Transfer-Encoding: binary\n"); 

This header says, that a download box needs to be displayed to the user (no direct opening in browser), and that the file is binary. It also states, the data shouldn't be cached anywhere on the way.

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply


Messages In This Thread



Users browsing this thread: 2 Guest(s)