| 
	
 | 
 Posted by C. (http://symcbean.blogspot.com/) on 01/07/08 12:15 
On 7 Jan, 08:36, Hanoi <hin...@inwind.it> wrote: 
> Hi, 
> 
> I would like to have a php file that log informations sent by an image 
> request. 
> 
> For logging, I use fwrite to write on a file. 
> 
> If more requests are done on the same time, there could be a lost of 
> data because the file is open by one process and not available for the 
> other processes? 
> 
> Thanks 
 
Use an asynchronous logging mechanism (see the docs page for syslog()) 
 
C.
 
  
Navigation:
[Reply to this message] 
 |