php 엑셀 다운로드
페이지 정보
작성자 미친새 작성일 20-02-21 11:14 조회 18,584 댓글 0본문
header( \"Content-type: application/vnd.ms-excel;charset=UTF-8\");
header( \"Expires: 0\" );
header( \"Cache-Control: must-revalidate, post-check=0,pre-check=0\" );
header( \"Pragma: public\" );
header( \"Content-Disposition: attachment; filename=name_\".date('Ymd').\".xls\" );
echo \"
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=UTF-8'>
<table border=1>
<tr>
<td>1번컬럼</td><td>2번컬럼</td><td>3번컬럼</td><td>4번컬럼</td>
</tr>
\";
echo \"
<tr>
<td>여기는 1번자리</td>
<td>여기는 2번자리</td>
<td>'02-0000-0000'</td>
<td>'010-0000-0000'</td>
</tr>\";
echo \"
</table>\";
die;
header( \"Expires: 0\" );
header( \"Cache-Control: must-revalidate, post-check=0,pre-check=0\" );
header( \"Pragma: public\" );
header( \"Content-Disposition: attachment; filename=name_\".date('Ymd').\".xls\" );
echo \"
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=UTF-8'>
<table border=1>
<tr>
<td>1번컬럼</td><td>2번컬럼</td><td>3번컬럼</td><td>4번컬럼</td>
</tr>
\";
echo \"
<tr>
<td>여기는 1번자리</td>
<td>여기는 2번자리</td>
<td>'02-0000-0000'</td>
<td>'010-0000-0000'</td>
</tr>\";
echo \"
</table>\";
die;
댓글목록 0
등록된 댓글이 없습니다.