note 74830 added to function.flock
| From: | administrator at proxy-list dot org | Date: | Mon, 30 Apr 2007 00:55:35 +0000 |
| Subject: | note 74830 added to function.flock | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125966@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 212.72.146.171
----
Manual Page -- http://www.php.net/manual/en/function.flock.php
Edit -- https://master.php.net/note/edit/74830
Del: integrated -- https://master.php.net/note/delete/74830/integrated
Del: useless -- https://master.php.net/note/delete/74830/useless
Del: bad code -- https://master.php.net/note/delete/74830/bad+code
Del: spam -- https://master.php.net/note/delete/74830/spam
Del: non-english -- https://master.php.net/note/delete/74830/non-english
Del: in docs -- https://master.php.net/note/delete/74830/in+docs
Del: other reasons-- https://master.php.net/note/delete/74830
Reject -- https://master.php.net/note/reject/74830
Search -- https://master.php.net/manage/user-notes.php