note 19005 added to function.xmldocfile
| From: | ken at positive-edge dot com | Date: | Wed, 13 Feb 2002 10:23:53 +0000 |
| Subject: | note 19005 added to function.xmldocfile | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26540@lists.php.net to get a copy of this message | ||
The file being loaded must be the complete path. A string like './file.xml' or
'file.xml' is not acceptable and the function will return false. This is a common mistake
because functions like fopen() can take relative paths like above. Also, the path is not in
relation to the document root, it is in relation to the root (/) directory on UNIX or the c:\ on
windows. This should help those that had some trouble operating this function.
Ken Egervari
--
http://www.php.net/manual/en/function.xmldocfile.php
http://master.php.net/manage/user-notes.php?action=edit+19005
http://master.php.net/manage/user-notes.php?action=delete+19005
http://master.php.net/manage/user-notes.php?action=reject+19005