Is flock() necessary on a simple file append?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am appending to a file one line of text on every page hit, so there could
be many occurrences of this append simultaneously.  I am not opening for
write ("w") but for append ("a"). Do I need to use flock() to be sure there
are no issues?  I am running on Solaris.

Thanks,
Kevin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux