File:  [mozdev] / accountex / www / download.php
Revision 1.14: download - view: text, annotated - select for diffs - revision graph
Tue Sep 27 15:51:40 2005 UTC (14 years ago) by astrapi
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

<?php
$dateiname = $_GET["datei"];
$dateipfad = "ftp://ftp.mozilla.org/pub/mozilla.org/extensions/accountex/";

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>