php - 如何在 PHP 中从映射的网络驱动器中定位文件?
问题描述
我需要找到的文件在 192.168.100.4 > Drive D:
文件定位在本地驱动器上运行良好。
$path = "\\\\192.168.100.4\\d\\file.mdb";
if (!file_exists($path))
{
die("Could not find database file.");
}
解决方案
推荐阅读
- postgresql - 这两种关系的区别
- sql - 在 SQL 中需要这样的实现
- java - MediaManager 已经初始化
- matplotlib - 刻度和刻度标签可以放置在轴限制之外吗?
- firebase - Firestore Angular2根据当前用户检索文档
- ruby-on-rails - 如果特定用户是在 Ruby on Rails 中登录的用户,如何隐藏该用户
- elasticsearch - Elasticsearch 映射 api 未将我的列表显示为嵌套类型
- sql-server - 在 Linux 上的 SQL Server 2019 上创建 Windows 登录时出现“找不到 Windows NT 用户或组”
- css - 在闪亮的仪表板中永久更改标题标题颜色
- c++ - 无法找出方法的参数在发布模式下损坏但在调试模式下正常的原因