Gib mal den kompletten Pfad an, also z.B. C:\Test\test.xml.
Wenn es dann geht, dann kannst du diesen Tipp beherzigen:
Zitat von
kevin at ieqdev dot com:
If you're working on a windows machine and don't want to use full paths , just use...
Code:
$showfile = file_get_contents($path . "/" . $fileName);
if(!$domDoc = domxml_open_mem($showfile)) {
echo "Couldn't load
xml...";
exit;
}
Because file_get_contents() can use relative paths on Win, it keeps your code more portable...
twist
mfG
Daniel L.
'-'