찾다

 >  Q&A  >  본문

내보내기 파일 다운로드, 콘솔 출력 잘못된 코드

header("Pragma: public"); header("만료일: 0"); header("Cache-Control:must-revalidate, post-check=0, pre-check=0"); :application/force-download"); header("Content-Type:application/vnd.ms-execl"); header("Content-Type:application/octet-stream"); ​​​​header("Content-Type: 응용 프로그램/다운로드");; header('Content-Disposition:attachment;filename='.$fileName.''); header("Content-Transfer-Encoding:binary");//output $writer = IOFactory::createWriter ($ 스프레드시트, '디렉토리는 있지만 다운로드할 수 없습니다

夏日飞霜夏日飞霜1567일 전1150

모든 응답(1)나는 대답할 것이다

  • 天蓬老师

    天蓬老师2020-11-12 14:16:05

    코드 및 오류 메시지, 스크린샷이 전송됩니다

    회신하다
    0
  • 취소회신하다