Diff for /accountex/www/download.php between versions 1.8 and 1.9

version 1.8, 2005/09/23 14:11:16 version 1.9, 2005/09/23 14:21:00
Line 1 Line 1
 <?php  <?php
   $dateiname = $_GET["datei"];
   $dateipfad = "http://downloads.mozdev.org/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("http://downloads.mozdev.org/accountex/accountex_0.1.2-tb.xpi"));header("Content-Length: " . filesize($dateipfad . $dateiname));
header("Content-Disposition: attachment; filename=accountex_0.1.2-tb.xpi");header("Content-Disposition: attachment; filename=$dateiname");
readfile("http://downloads.mozdev.org/accountex/accountex_0.1.2-tb.xpi");readfile($dateipfad . $dateiname);
 ?>  ?>
   

Removed from v.1.8  
changed lines
  Added in v.1.9


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