Bug #13919: flock not working

From: Date: Sun, 04 Nov 2001 12:02:11 +0000
Subject: Bug #13919: flock not working
Groups: php.dev 
Request: Send a blank email to php-dev+get-69603@lists.php.net to get a copy of this message
From: Julienc@psychologie-fr.com Operating system: Windows 98 PHP version: 4.0.6 PHP Bug Type: Filesystem function related Bug description: flock not working flock($fp,2); alwas return false using windows 98. Here a little testcase: $fp=fopen ('myfile.txt','a'); if ( $fp != 0 && flock($fp, 2) ){ fwrite($fp, $mydatas); } else { echo 'error'; } fclose($fp); Other people having the prob: Bug#11828 and 2 users contributed notes (sebastian.theek@gmx.de, manuel.ricca@mail.pt) -- Edit bug report at: http://bugs.php.net/?id=13919&edit=1

« previous php.dev (#69603) next »