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

version 1.5, 2005/09/23 14:08:14 version 1.9, 2005/09/23 14:21:00
Line 1 Line 1
<?<?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="http://downloads.mozdev.org/accountex/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.5  
changed lines
  Added in v.1.9


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