[PHP] Please, can you help me?

2002-05-05 Thread toycat
Hello! I have a big problem and cannot find the answer anywhere, so please, help me if you can. When I use fwrite() function on webserver, it sometimes happens, that more then one user accesses the file and the result is, that the file is corrupted or truncated. A good example of this problem is

RE: [PHP] Please, can you help me?

2002-05-05 Thread John Holmes
RTM... www.php.net/flock ---John Holmes... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 2:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Please, can you help me? Hello! I have a big problem and cannot find the answer anywhere, so

RE: [PHP] Please, can you help me?

2002-05-05 Thread David Freeman
I have a big problem and cannot find the answer anywhere, so please, help me if you can. When I use fwrite() function on webserver, it sometimes happens, that more then one user accesses the file and the result is, that the file is corrupted or truncated. I suspect that flock()