This question is an exact duplicate of:
I've done a php page index.php
which uses some python scripts to retrieve some informations and copy them from a file A to a file B. My problem is that if I have more than one user that access index.php
, B is modified from both the users. How can I make the second user wait until the first user has finished to modify B?
</div>