note 74830 deleted from function.flock by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 00:36:18 +0000 |
| Subject: | note 74830 deleted from function.flock by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155393@lists.php.net to get a copy of this message | ||
Note Submitter: administrator at proxy-list dot org
----
The bug fix in my last post. During test I have discovered that if you have locked file for writing
(LOCK_EX) both read and write will not be accessible from other scripts. In case of read locking
(LOCK_SH) only writing will not be accessible for other PHP scripts but they will be able to read
file simultaneously.