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

1.6       astrapi     1: <?php
1.9       astrapi     2: $dateiname = $_GET["datei"];
                      3: $dateipfad = "http://downloads.mozdev.org/accountex/";
                      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.1       astrapi    10: ?>

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