File:  [mozdev] / accountex / www / download.php
Revision 1.18: download - view: text, annotated - select for diffs - revision graph
Mon Dec 5 07:03:04 2005 UTC (12 years ago) by astrapi
Branches: MAIN
CVS tags: www_1_0, HEAD
*** empty log message ***

<?php
$dateiname = $_GET["datei"];
$dateipfad = "/mozdev/sandbox/data/helm/htdoc/accountex/www/files/";

header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-type: application/x-xpinstall");
header("Content-Length: " . filesize($dateipfad . $dateiname));
header("Content-Disposition: attachment; filename=" . $dateiname . "");
readfile($dateipfad . $dateiname);
?>

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