PHP file_put_contents simultaneous requests

267 views Asked by At

I have a single php script that can be called by thousands of clients, The job of the script is to append data sent by clients to a single file I use file_put_contents($file_pointer, $data,FILE_APPEND);

Is there a possibility of data getting overwritten by other request while one is reading from it or is there any possibilities of read write conflicts

I tried searching internet but its too complex and vague to get a clear answer from any of the searches!!

0

There are 0 answers