On Wed, Aug 26, 2009 at 12:35 PM, Warren Vail<warren@xxxxxxxxxxxx> wrote: > I have two processes running on the same server, one is creating a file, > loading it with data, and this process runs real slow. > > > > The second process processes a directory, finds the new file and begins > reading the file contents. > > > > How do I make the reading process detect that the file is still being filled > with data in PHP? > > > > Warren Vail > > Vail Systems Technology > > > > lock it with www.php.net/flock -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php