File:  [mozdev] / accountex / www / download.php
Revision 1.15: download - view: text, annotated - select for diffs - revision graph
Tue Sep 27 16:16:48 2005 UTC (13 years, 11 months ago) by astrapi
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

    1: <?php
    2: $dateiname = $_GET["datei"];
    3: $dateipfad = "http://downloads.mozdev.org/accountex/";
    4: 
    5: header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    6: header("Content-type: application/x-xpinstall");
    7: header("Content-Length: " . filesize($dateipfad . $dateiname));
    8: header("Content-Disposition: attachment; filename=" . $dateiname . "");
    9: readfile($dateipfad . $dateiname);
   10: ?>

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