Regarding the XML/flock file locking question...

Couldn't you also create a rather simple test to determine if the locking of 
the file takes place??


-----Original Message-----
From: Iv Ray [mailto:[EMAIL PROTECTED]
Sent: Monday, May 19, 2008 6:38 AM
To: Kaja
Cc: php-general@lists.php.net
Subject: Re: [PHP] XML file locking


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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to