깨질때의 헤더
-
header( "Content-type: application/vnd.ms-excel" );
header( "Content-Disposition: attachment; filename=$_POST[filename].xls" );
header( "Content-Description: PHP4 Generated Data" );
header( "Content-charset=euc-kr" );
-
수정한 헤더
-
header( "Content-type: application/vnd.ms-excel; charset=euc-kr" );
header( "Content-Disposition: attachment; filename=$_POST[filename].xls" );
header( "Content-Description: PHP4 Generated Data" );
print("<meta http-equiv=\"Content-Type\" content=\"application/vnd.ms-excel; charset=euc-kr\">");
-
이제 안깨진다.
원본글 출처: superb1204.egloos.com/3271374
-
header( "Content-type: application/vnd.ms-excel" );
header( "Content-Disposition: attachment; filename=$_POST[filename].xls" );
header( "Content-Description: PHP4 Generated Data" );
header( "Content-charset=euc-kr" );
-
수정한 헤더
-
header( "Content-type: application/vnd.ms-excel; charset=euc-kr" );
header( "Content-Disposition: attachment; filename=$_POST[filename].xls" );
header( "Content-Description: PHP4 Generated Data" );
print("<meta http-equiv=\"Content-Type\" content=\"application/vnd.ms-excel; charset=euc-kr\">");
-
이제 안깨진다.
원본글 출처: superb1204.egloos.com/3271374
게시글 목록
| 번호 | 제목 |
|---|---|
| 33133 | |
| 33132 | |
| 33099 | |
| 33091 | |
| 33090 | |
| 33075 | |
| 33070 | |
| 33068 | |
| 33065 | |
| 33043 | |
| 33031 | |
| 33030 | |
| 33028 | |
| 33018 | |
| 33016 | |
| 33006 | |
| 33005 | |
| 33000 | |
| 32984 | |
| 32974 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기