note 34271 added to function.file
| From: | John at rack1 dot php dot net | Date: | Sun, 20 Jul 2003 21:32:38 +0000 |
| Subject: | note 34271 added to function.file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52425@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+34271
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34271&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34271&report=yes