Re: Re: Mandatory File Locking in PHP?

From: Date: Wed, 29 Jan 2003 17:07:56 +0000
Subject: Re: Re: Mandatory File Locking in PHP?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-93765@lists.php.net to get a copy of this message
Aside from this being on the wrong list (this should go to php-general), it's worth noting that mandatory locking support is pretty inconsistently implemented across most OSs. George On Wednesday, January 29, 2003, at 10:59 AM, J Smith wrote:
Try the direct I/O extension, specifically dio_fcntl(). Just make sure the filesystem you're using the locks on was mounted with "-o mand", and the locks will be mandatory by default. J Ananth Kesari wrote:
Hi, From the PHP manual I find that the flock() function does a advisory file locking. Is there a way to do mandatory file locking where we do strict locking? That is once a file is locked, no other process or thread is allowed to edit the file untill the lock owner is done with his job and he has removed the lock. Thanks, Ananth.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#93765) next »