如何在下载

时间:2016-11-08 08:02:21

标签: php pdf

我正在使用以下标题下载pdf

header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Cache-Control: private',false);
header('Content-Type: application/force-download');
header('Content-Disposition: attachment; filename="Business Report.pdf"');
header('Content-Transfer-Encoding: binary');

打开pdf时,是否可以为pdf设置默认缩放级别

0 个答案:

没有答案