summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 52bf1f7)
raw | patch | inline | side by side (parent: 52bf1f7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 7 Mar 2006 13:23:26 +0000 (13:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 7 Mar 2006 13:23:26 +0000 (13:23 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2818 594d385d-05f5-0310-b6e9-bd551577e9d8
html/getkiosk.php | patch | blob | history |
diff --git a/html/getkiosk.php b/html/getkiosk.php
index f4a41e263fcbc045d52c7408f03c51db1e926f3d..bd8d0e8e704fe23020fb127119f17b2337916aa5 100644 (file)
--- a/html/getkiosk.php
+++ b/html/getkiosk.php
}
$display = file_get_contents($id);
+
+ $nn = preg_replace("/^.*\//","",$id);
+
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
header("Cache-Control: post-check=0, pre-check=0");
header("Content-type: application/octet-stream");
+ header("Content-Disposition: attachment; filename=".$nn);
echo $display;
}