XML file locking
| From: | Kaja | Date: | Sun, 18 May 2008 17:14:07 +0000 |
| Subject: | XML file locking | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-274489@lists.php.net to get a copy of this message | ||
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.