본문 바로가기
Development/PHP

PHP 엑셀다운로드

by Dev. Jkun 2011. 11. 28.
반응형
<?
header( "Content-type: application/vnd.ms-excel; charset=euc-kr" );
header( "Expires: 0" );
header( "Cache-Control: must-revalidate, post-check=0,pre-check=0" );
header( "Pragma: public" );
header( "Content-Disposition: attachment; filename=파일명.xls" );
?>
반응형

'Development > PHP' 카테고리의 다른 글

Visual Studio 에서 PHP 템플릿 적용시키기  (0) 2012.04.23
APM7 의 기본설정  (0) 2011.12.30
PHP 날짜함수 2  (0) 2011.10.10
쿼리 페이징을 최대한 빠르게  (0) 2011.09.22
PHP 기본적인 페이징(Paging)  (0) 2011.09.22

댓글