tbare Posted March 3, 2011 Share Posted March 3, 2011 PHP 5.3 on Windows 7 running IIS 7 Hey... when using: $dom = DOMDocument::load( 'p:\\WebTest\\test1.xml' ); where P:\ is a mapped drive, I'm getting: Warning: DOMDocument::load(): I/O warning : failed to load external entity "file:///p:/WebTest/test1.xml" in ... I've also tried using / instead of \\. If it's on c:\, it works fine, but I can't get the absolute path to work to a mapped drive. If I use \\\ip\\folder\\file (or //ip/folder/file) the page never loads. Any thoughts on getting DOMDocument to look at a shared network location on Windows? Thanks! Link to comment https://forums.phpfreaks.com/topic/229510-domdocumentload-using-an-absolute-path-to-mapped-drive-failing/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.