PHP 强制下载文件代码

技术教程2个月前发布 北陌
340 00

PHP 强制下载文件代码

$filename = 1.png;

header(“Content-Type: application/force-download”);

header(Content-Disposition: attachment; filename=”.$filename.”);

echo $filename;

?

© 版权声明

相关文章

暂无评论

none
暂无评论...