我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

FPDF - 仅将文件输出到服务器

I try to save the output of my generated file on my server.

The Code:

$pdf->Output('pdfs/'.$order.'.pdf', 'F');
header("Location: ../email.php");

But when I open the php file in my browser, it still shows the php file with my pdf reader.. Why doesn't this just save the file and redirect me to the email.php?

近期文章

  • PHP SoapClient版本不匹配[重复]
  • 在两个日期时间之间获取查询
  • 在yii中为小部件创建测试
  • MYSQL无序返回日期
  • 浏览器有时会添加<tbody>
  • 删除字符串的最后一个字符
  • PHP Mailer缓慢发送消息
  • Apache htaccess重定向到404
  • 从克隆表单php保存数据
  • 可靠的选择框不起作用
  • 多个CSV文件到PHP阵列 -
  • 数据库结构指南[关闭]
  • PHP - 无法将对象添加到数组中
  • 强制linux使用php作为php55
  • 从连接表中获取行数[关闭]
  • 在服务器中保存图像时出错
  • WordPress:无法访问仪表板
  • codeigniter:实体在哪里?
  • 使用MySQL IN()与PHP和PDO [重复]
  • PHP:通过电子邮件发送base64图像

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华