#25508 [Opn->Bgs]: domxml_open_file() does not work when using relative paths

From: Date: Fri, 12 Sep 2003 10:32:09 +0000
Subject: #25508 [Opn->Bgs]: domxml_open_file() does not work when using relative paths
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47508@lists.php.net to get a copy of this message
ID: 25508 Updated by: helly@php.net Reported By: mfladischer at gmx dot net -Status: Open +Status: Bogus Bug Type: DOM XML related -Operating System: WinXP SP1 +Operating System: * -PHP Version: 4.3.3 +PHP Version: * New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#47508) next »