Home
Sign Up
Sign In
V2EX
›
问与答
PHP 下载远程文件,浏览器保存成自定义的文件名,大概思路是什么?
oklilei
·
Mar 6, 2020
· 2109 views
This topic created in 2434 days ago, the information mentioned may be changed or developed.
请教!
PHP
文件
请教
浏览器
1 replies
•
2020-03-06 20:30:32 +08:00
ThirdFlame
Mar 6, 2020
1
file_get_contents
Content-Type:application/octet-stream
Content-Disposition:attachment;filename=xxx.zip
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2916 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 11:26
·
PVG 19:26
·
LAX 03:26
·
JFK 06:26
♥ Do have faith in what you're doing.
❯