Mandatory File Locking in PHP?
| From: | Ananth Kesari | Date: | Wed, 29 Jan 2003 13:26:43 +0000 |
| Subject: | Mandatory File Locking in PHP? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-93760@lists.php.net to get a copy of this message | ||
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.