엑셀(excel)파일로 다운로드 받기 header
페이지 정보
작성자 최고관리자 작성일 21-02-09 11:40 조회 8,551 댓글 0본문
############################################################################
## 엑셀파일 저장헤드
$file_name = "{$inputY}_{$inputM}_{$inputD}.xls";
header( "Content-type: application/vnd.ms-excel" );
header( "Content-Disposition: attachment; filename=$file_name" );
header( "Content-Description: PHP4 Generated Data" );
header("Content-type: application/vnd.ms-excel");
header("Content-Disposition: attachment; filename=$filename");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
header("Pragma: public");
## 엑셀파일 저장헤드
$file_name = "{$inputY}_{$inputM}_{$inputD}.xls";
header( "Content-type: application/vnd.ms-excel" );
header( "Content-Disposition: attachment; filename=$file_name" );
header( "Content-Description: PHP4 Generated Data" );
header("Content-type: application/vnd.ms-excel");
header("Content-Disposition: attachment; filename=$filename");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
header("Pragma: public");
댓글목록 0
등록된 댓글이 없습니다.