2003. 2. 19. 00:11

엑셀 출력

PHP
Header("Content-Disposition: inline; filename=myfile.xls");
Header("Content-Description: PHP3 Generated Data");
Header("Content-type: application/vnd.ms-excel; name='excel'");
flush();


ASP
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "Content-Disposition","attachment;filename=xxx.xls"