PHP File: Locking and Unlocking FileTag: file, lock file, unlock file Category: PHP Basicpost: 14 Apr 2008 read: 1,039 PHP File Tips - Part 12: You can lock a file use flock() function. This function allows you to performe a simple reader/write model. Once a file is locked with flock(), other processing attempting to write to file have to wait until unlock. It avoid multiprocess at a file that can corrupt it.
|
| | Give Your Opinion | Recommend |
|


