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

version 1.1, 2005/09/23 12:51:23 version 1.4, 2005/09/23 13:15:58
Line 1 Line 1
 <?  <?
header ("Location: $datei");
 // Passenden Datentyp erzeugen.
 header("Content-Type: application/xpi");
 
 // Passenden Dateinamen im Download-Requester vorgeben,
 // 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.1  
changed lines
  Added in v.1.4


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