엑셀 브라우저 호환성 php header 설정
더시민
3
1921
0
2020.09.24 21:39
$excelsubject=rawurlencode($excelsubject);
header( "Content-type: application/vnd.ms-excel;" );
//header( "Content-Disposition: attachment; filename=제목 ".$excelsubject.".xls" );
header( "Content-Disposition: attachment; filename=\"제목 ".$excelsubject.".xls\"; filename*=UTF-8''제목 ".$excelsubject.".xls");
