Hi, I am looking for some help with changing this so that I can download a file as html instead of cvs. I am not a programmer so I really don't know but have good ability to follow instrctions. Thank you in advance!
<?
if(file_exists($filename))
{
$fp=fopen($filename,"r");
$content=fread($fp,filesize($filename));
fclose($fp);
header("Content-type:application/vnd.ms-csv");
header("Content-Disposition:filename=$filename");
echo $content;
}
?>