[PHP] oops! flock() not work

2006-05-22 Thread n . g .
flock() with LOCK_NB not work under , nor does fopen() with 'x' mode, my php is compiled as an apache module, and apache is running in prefork mpm. php version is 5.1.2 my code is or http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: oops! flock() not work

2006-05-22 Thread n . g .
BTW. what i want is if one http session cannot obtain the lock, then it fails IMMEDIATELY, On 5/22/06, n. g. <[EMAIL PROTECTED]> wrote: flock() with LOCK_NB not work under , nor does fopen() with 'x' mode, my php is compiled as an apache module, and apache is running in prefork