<?php
$fp = fopen("http://test.cn/cc.pdf", "r");
header("Content-type: application/pdf");
fpassthru($fp);
fclose($fp);
亲测有效,代码直接粘来用就行了
<?php
$fp = fopen("http://test.cn/cc.pdf", "r");
header("Content-type: application/pdf");
fpassthru($fp);
fclose($fp);
亲测有效,代码直接粘来用就行了
相关文章: