ID: 25508 User updated by: mfladischer at gmx dot net Reported By: mfladischer at gmx dot net -Status: Bogus +Status: Open Bug Type: DOM XML related Operating System: * PHP Version: * New Comment:
Please see the Reproduce code: // example.xml is in the same directory as this script the path is relative to the path where the script resides. i'm using the apache2 module so paths relative to the location of the script should work. but they do not work with domxml_open_file()! Previous Comments: ------------------------------------------------------------------------ [2003-09-12 06:32:09] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. According to config and sapi used relative paths can be relative to executable, server executable, base url or current directory. RTFM. ------------------------------------------------------------------------ [2003-09-12 04:43:53] mfladischer at gmx dot net Description: ------------ I get a bool(false) when trying to open a xml-file with a relative path. It works as expected with FQ paths. Reproduce code: --------------- <?php // example.xml is in the same directory as this script var_dump(domxml_open_file("example.xml")); ?> Expected result: ---------------- A DOM-document object: object(domdocument).... Actual result: -------------- bool(false) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25508&edit=1