Annotation of accountex/www/download.php, revision 1.18

1.6       astrapi     1: <?php
1.9       astrapi     2: $dateiname = $_GET["datei"];
1.16      astrapi     3: $dateipfad = "/mozdev/sandbox/data/helm/htdoc/accountex/www/files/";
1.9       astrapi     4: 
1.5       astrapi     5: header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
                      6: header("Content-type: application/x-xpinstall");
1.9       astrapi     7: header("Content-Length: " . filesize($dateipfad . $dateiname));
1.10      astrapi     8: header("Content-Disposition: attachment; filename=" . $dateiname . "");
1.9       astrapi     9: readfile($dateipfad . $dateiname);
1.12      astrapi    10: ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>