I am trying to load a file from a mapped network drive on Windows Server 2008. The mapped drive is S:\
and the file is conqueror.mdb
. I am using the IP address I am seeing in File Explorer but it still says it cannot find the file.
$dbName = "\\xx.xx.xxx.xx\S:\conqueror.mdb";
if (!file_exists($dbName)) {
die("Could not find database file.");
}
$conn = new PDO("odbc:DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=$dbName; Uid=; Pwd=pass;");