Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 php 新手,我正在尝试弄清楚如何将我的文件导出到不同的目录。到目前为止我有..
header("Content-Type: application/json"); header("Content-Disposition attachment; filename=\"test.text\"");
我导出我的文件,但他们都去Downloads,我怎样才能让它去我的 /Desktop?
提前致谢。
你不能用代码改变它。您需要在浏览器中更改该设置。