摘要: <?php $fp = fopen("http://test.cn/cc.pdf", "r"); header("Content-type: application/pdf"); fpassthru($fp); fclose($fp); 亲测有效,代码直接粘来用就行了 阅读全文
posted @ 2018-11-08 17:21 神沐 阅读(2655) 评论(0) 推荐(0) 编辑
摘要: 话不多说,直接上代码! <?php/*Template Name: xml页面模板*/?><?php //php DOM 生成xml$doc = new DOMDocument('1.0','utf-8');//声明版本和编码$doc -> formatOutput = true;//格式xml输出 阅读全文
posted @ 2018-10-18 15:14 神沐 阅读(798) 评论(0) 推荐(0) 编辑