note 36851 rejected from function.fopen by didou
| From: | didou@php.net | Date: | Fri, 24 Oct 2003 16:05:46 +0000 |
| Subject: | note 36851 rejected from function.fopen by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59251@lists.php.net to get a copy of this message | ||
Note Submitter: dreamywind@yahoo.com
----
I just find out that if you opens up a file in append mode, i.e. fopen("file.txt",
"a"), you are guarantee write access to the file. And if you have 2 or more processes
appending to that file at the same time, then good luck.
It seems like there is no locking feature implemented when you use append mode. It takes me forever
to find this out when part of my log files appears to be out of order.