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.
我想要在加载网站时在主机上上传的代码,然后在客户端驱动器 c:\ 上创建一个文件,我将按钮代码放在本地主机上是正确的,但是当我将此代码放在 public_html 上的主机创建文件上时,我想创建文件在客户端 C:\ Drive 上类似一个病毒
这是不可能的。用户需要手动下载
PHP 在服务器上运行,而不是在客户端机器上。换句话说,PHP 永远不会影响客户端机器。