首页 > 解决方案 > 如何在 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.");
}

这是结果

这是我的驱动器

标签: php

解决方案


推荐阅读