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

1.6       astrapi     1: <?php
1.9       astrapi     2: $dateiname = $_GET["datei"];
1.11    ! astrapi     3: $dateipfad = "http://ftp.mozilla.org/pub/mozilla.org/extensions/accountex/";
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.11    ! astrapi    10: ?>

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