[英]Access shared drive using OPENDIR
I want to display all the drives in my system through PHP, So i used opendir.我想通过 PHP 显示我系统中的所有驱动器,所以我使用了 opendir。 Here a problem i had already mapped a drive in the name of Z: this drive not showing while we try to displaying the drives in browser.这里有一个问题,我已经以 Z 的名义映射了一个驱动器:当我们尝试在浏览器中显示驱动器时,这个驱动器没有显示。
Basically i am having c: drive and additionally i have mapped the Z: drive from network connection.基本上我有 c: 驱动器,另外我已经从网络连接映射了 Z: 驱动器。 Please help me how to show both the drives in browser请帮助我如何在浏览器中显示两个驱动器
The default SYSTEM User under windows will not be able to access mapped network drives. windows 下的默认 SYSTEM 用户将无法访问映射的网络驱动器。 Services run under this user by default, like Apache.服务默认在此用户下运行,例如 Apache。
Mapped network drives are mounted for a specific user and won't work for other users.映射的网络驱动器是为特定用户安装的,不适用于其他用户。
Tips:提示:
Always do tip 1. Choose between tip 2 or 3.始终执行提示 1。在提示 2 或 3 之间进行选择。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.