File:  [mozdev] / accountex / www / download.php
Revision 1.9: download - view: text, annotated - select for diffs - revision graph
Fri Sep 23 14:21:00 2005 UTC (13 years, 8 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>