Forum Moderators: coopster
1) Suppose that process A locks "file1" using flock()for writing, and process B wants to write to "file1"... what will happen?
- of course i want process B to write after process A finish.. so is it done automatically or should i do it by a way or another?
2) When i use file('myfile.txt');
does it need flock() and fclose?
Thanks in advance