note 34271 deleted from function.file by alindeman

From: Date: Sun, 20 Jul 2003 21:34:53 +0000
Subject: note 34271 deleted from function.file by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52427@lists.php.net to get a copy of this message
Note Submitter: John ---- 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.

« previous php.notes (#52427) next »