note 49991 added to function.domxml-open-file

From: Date: Mon, 14 Feb 2005 22:00:26 +0000
Subject: note 49991 added to function.domxml-open-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-85032@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.domxml-open-file.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49991 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49991&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49991&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49991&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49991&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49991&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49991&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85032) next »