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 文件,有没有办法使用该文件转到下载行并将文件下载到 php 所在的目录而不是计算机>
As @Cale_b said, no, not without FTP. The PHP file will execute if you try and get it through the browser. Why do you want to do that anyway?