PHP writing to file without truncation
<p>I am creating a flatfile database, and I am trying to solve the problem of multiple edits being made at the same time. I understand I need to truncate the file for editing and deleting rows but for adding rows this is not necessary.</p>

<p>So if I were to use <code>fopen($file, 'a')</code> to write to a file, and multiple people where to open the file and write to it, would they all be able to write to the file simultaneously? </p>

<p>Without truncating the file people shouldn't be overwriting each other right?</p>
