ID: 12783
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Verified
+Status: Bogus
Bug Type: DOM XML related
Operating System: WinME
PHP Version: 4.3.0-dev
New Comment:
This is not a php problem, but a regular windows problem. Windows is a
problem, but its not our fault :)
Previous Comments:
------------------------------------------------------------------------
[2002-09-20 19:57:17] [EMAIL PROTECTED]
updated version.
------------------------------------------------------------------------
[2001-11-29 08:28:46] [EMAIL PROTECTED]
For some reason PHP behaves a bit different under win32 than linux:
win32:
C:\phpdev>php -f bla/xmldocfiletest.php
current dir is C:\phpdev
linux:
$ php -f subtest/xmldocfiletest.php
path is /home/mfischer/src/php/bugtest/domxml/subtest
See the difference?
This tests where run with a call to the system call (!) getcwd() [not
php's user function] before the actual file IO happens through libxml2.
So this is not a domxml problem but a general PHP problem.
Reclassifying (anyone know a better type?).
------------------------------------------------------------------------
[2001-08-16 00:30:58] [EMAIL PROTECTED]
When loading an XML file with xmlDocFile using a relative path (ie the
XML is in the same dir as the script), I get:
Fatal error: Call to a member function on a non-object in [script] at
line [#]
The line it points to is the first time I try to reference the object
returned by xmlDocFile. If I change this to an absolute path, it works
fine. I've verified that the cwd is what I think it is, so... any
ideas?
cheers,
nick
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12783&edit=1