Re: File locking problem

From: Date: Fri, 08 Nov 2002 08:53:53 +0000
Subject: Re: File locking problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123339@lists.php.net to get a copy of this message
> I'm having file locking problems. > I'm using fopen() to write a file via FTP. At the end, I'm doing... > fflush($fp); > fclose($fp); > ...and then I include it immediately after. But many times I only get part > of what I wrote to the file, which suggests that it wasn't really flushed > and closed properly. Do you use "include" or "require". In such situation you should not use "include". -- Krzysztof Dziekiewicz

« previous php.general (#123339) next »