Search found 2 matches

by chryu
Sat Nov 03, 2007 9:08 pm
Forum: PHP - Code
Topic: XML writing problems
Replies: 2
Views: 255

If anyone's wondering, I've been able to reproduce the behavior by loading and saving an XML file with DOM methods multiple times simultaneously. In my case, I use XML as storage, so when users deleted comments too quickly, it caused this error.
by chryu
Thu Nov 01, 2007 7:21 pm
Forum: PHP - Code
Topic: XML writing problems
Replies: 2
Views: 255

XML writing problems

Hi all, I've got a strange XML problem, and I've got no idea where to start looking. Writing to an XML file worked fine when I used DOM methods, but I've switched to the simplexml method of loading it and then saving it with file_put_contents('filename.xml', $xml->asXML()) What happened recently was...