Edit report at http://bugs.php.net/bug.php?id=26975&edit=1
ID: 26975 Updated by: [email protected] Reported by: magg at mail dot com Summary: locking support in file_get_contents / file_put_contents -Status: Open +Status: Closed Type: Feature/Change Request -Package: Feature/Change Request +Package: Filesystem function related Operating System: Linux PHP Version: * -Assigned To: +Assigned To: jani Block user comment: N Private report: N New Comment: Instead of file_get_contents, use stream_get_contents(). Previous Comments: ------------------------------------------------------------------------ [2005-08-11 19:58:50] [email protected] file_put_contents exclusive lock was implemented (PHP 5.1). not sure about the shared lock in file_get_contents(). ------------------------------------------------------------------------ [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/bug.php?id=26975&edit=1
