Integer Arguments to the flock() Function : File Lock « File Directory « PHP






Integer Arguments to the flock() Function

<!-- 
Integer   Lock Type          Description

1         Shared             Allows other processes to read the file 
                             but prevents writing

2         Exclusive          Prevents other processes from either reading or writing 

3         Release            Releases a shared or exclusive lock
-->
           
       








Related examples in the same category