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

version 1.4, 2005/09/23 13:15:58 version 1.8, 2005/09/23 14:11:16
Line 1 Line 1
<?<?php
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
// Passenden Datentyp erzeugen.header("Content-type: application/x-xpinstall");
header("Content-Type: application/xpi");header("Content-Length: " . filesize("http://downloads.mozdev.org/accountex/accountex_0.1.2-tb.xpi"));
header("Content-Disposition: attachment; filename=accountex_0.1.2-tb.xpi");
// Passenden Dateinamen im Download-Requester vorgeben,readfile("http://downloads.mozdev.org/accountex/accountex_0.1.2-tb.xpi");
// z. B. den Original-Dateinamen 
$save_as_name = basename($filelist[$download]); 
header("Content-Disposition: attachment; filename=\"http://downloads.mozdev.org/accountex/accountex_0.1.2-tb.xpi\""); 
 
// Datei ausgeben. 
readfile($filename); 
 ?>  ?>
   

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


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