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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.