note 49991 deleted from function.domxml-open-file by sobak
| From: | sobak@php.net | Date: | Tue, 22 Nov 2016 03:42:17 +0000 |
| Subject: | note 49991 deleted from function.domxml-open-file by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207422@lists.php.net to get a copy of this message | ||
Note Submitter: contact at richardleggett dot co dot uk
----
If you want to work on both Windows and Linux, I found appending the following to the front of your
file path works:
$xmlPath = dirname(__FILE__) . "/";
$xmlDOM = domxml_open_file($xmlPath . "file.xml");
(rather than the "\\" in a previous post on this page which only works on Windows).
This should get around the I/O errors.