Re: php file writting ?

From: Date: Fri, 14 Mar 2003 18:15:32 +0000
Subject: Re: php file writting ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139745@lists.php.net to get a copy of this message
At 18:53 14-3-2003, you wrote:
I open a file, modify it, save it out to disk. The VERY next line, i open it, and the size is zero. I look at the file and it is fine (not zero). I think there is a timing issue with php on file read/writes. I tried sleep(1), but all that did was slow the script down (didn't help). un-educated guess:
did you try fclose then fopen again?

« previous php.general (#139745) next »