Re: XML file locking
| From: | Iv Ray | Date: | Mon, 19 May 2008 13:37:59 +0000 |
| Subject: | Re: XML file locking | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274513@lists.php.net to get a copy of this message | ||
Kaja wrote:
Does anyone know if any of the PHP 5 XML libraries use flock() internally? I'd like to use XMLReader and XMLWriter but I need to make sure theres no writing going on while reading and no more than one writer at time. And if I have to use DOM, does DOM lock the file when it calls save()? Or is there any xml library that allows you to pass in an already opened file stream ? Thanks.For such a low level question, I think you better ask on the developers list. Iv