U
U
UnFox2018-02-05 18:32:27
PHP
UnFox, 2018-02-05 18:32:27

How to make sure that the file is not reset?

There are 4 processes that often write data to 1 file, sometimes the file is stupidly cleared, most likely due to the fact that 2 processes are writing at the same time, how to solve this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Sanych, 2018-02-05
@mountpoint

File lock. flock function

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question