I use DOM to read and write XML file but it don't work. My code like this:
<?
$dom=new DomDocument();
$dom->Load("http://localhost/xml/file.xml");
$root=$dom->documentElement;
...
$dom->Save("file.xml");
?>
It not work. But when i try $dom->Save("C://file.xml"); It work fine. I don't understand while it not work. Anybody can tel me how?? Thanks you.