$fdir=dirname(__FILE__).'/kalkulator.html';
$fn='kalkulator.html';
if(isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'],'MSIE'))
header('Content-Type: application/force-download');
else
header('Content-Type: application/octet-stream');
header('Content-Length: '.filesize($fdir));
header('Content-disposition: attachment; filename="'.$fn.'"');
readfile($fdir);
?>