Note that to check for a lock, you'll need to try a flock() with LOCK_NB, otherwise, if the file is already locked, the flock() will block untill the lock is released.
In reply to Re: File locking
by Joost
in thread File locking
by Nalina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |