note 34270 added to function.file

From: Date: Sun, 20 Jul 2003 21:32:37 +0000
Subject: note 34270 added to function.file
Groups: php.notes 
Request: Send a blank email to php-notes+get-52424@lists.php.net to get a copy of this message
after many months of confusion and frustration, i have finally figured out something that i should have noticed the first time around. you can't file("test.txt") when that same file has been flocked. i guess i didn't have a full understanding of what i was doing when i used flock(). all i had to do was move the flock() around, and all was well. ---- Manual Page -- http://www.php.net/manual/en/function.file.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34270 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34270&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34270&report=yes

« previous php.notes (#52424) next »