from facebook chat I got the request and this request change some information in xml file (coding on php). The cod is next:
$participants = simplexml_load_file($fname);
//change,add,delete nodes
$participants->asXML($fname);
For example if request 1 and 2 will read the same xml file with simplexml_load_file at one moment, and after request 1 will put an information in it, the next request will erase with his writing the information of previous request. Is it possible to manage it somehow? For example like transactions in data bases?