Diff for /accountex/www/download.php between versions 1.11 and 1.14

version 1.11, 2005/09/27 04:10:27 version 1.14, 2005/09/27 15:51:40
Line 1 Line 1
 <?php  <?php
 $dateiname = $_GET["datei"];  $dateiname = $_GET["datei"];
$dateipfad = "http://ftp.mozilla.org/pub/mozilla.org/extensions/accountex/";$dateipfad = "ftp://ftp.mozilla.org/pub/mozilla.org/extensions/accountex/";
   
 header("Cache-Control: must-revalidate, post-check=0, pre-check=0");  header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
 header("Content-type: application/x-xpinstall");  header("Content-type: application/x-xpinstall");
 header("Content-Length: " . filesize($dateipfad . $dateiname));  header("Content-Length: " . filesize($dateipfad . $dateiname));
 header("Content-Disposition: attachment; filename=" . $dateiname . "");  header("Content-Disposition: attachment; filename=" . $dateiname . "");
 readfile($dateipfad . $dateiname);  readfile($dateipfad . $dateiname);
?>?>
   

Removed from v.1.11  
changed lines
  Added in v.1.14


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