note 29589 rejected from function.flock by tix

From: Date: Tue, 18 Feb 2003 13:55:02 +0000
Subject: note 29589 rejected from function.flock by tix
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-44151@lists.php.net to get a copy of this message
In response to the comment by geoff at message dot hu, I would like to know how to lock a file before opening it when flock() requires a resource returned by fopen(). Can you open the file twice possibly? An example would be appreciated.

« previous php.notes (#44151) next »