#26975 [Opn]: locking support in file_get_contents / file_put_contents
| From: | nlopess@php.net | Date: | Thu, 11 Aug 2005 17:58:53 +0000 |
| Subject: | #26975 [Opn]: locking support in file_get_contents / file_put_contents | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83396@lists.php.net to get a copy of this message | ||
ID: 26975
Updated by: nlopess@php.net
Reported By: magg at mail dot com
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux
-PHP Version: Irrelevant
+PHP Version: *
New Comment:
file_put_contents exclusive lock was implemented (PHP 5.1).
not sure about the shared lock in file_get_contents().
Previous Comments:
------------------------------------------------------------------------
[2004-01-20 06:55:24] magg at mail dot com
Description:
------------
It would be very nice to have a add a flag like USE_FLOCK or something
on these functions. Default shared on get and exclusive on put.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26975&edit=1