Re: [PHP] file locks

2002-04-10 Thread rarmin
Liam Gibbs wrote: > < trying to access is locked by other script (via > flock()) or not. I need to make script wait untill > other script running in a parallel thread releases the > lock on the file.>> > > Without testing, would this work? Just a suggestion > (read: shot in the dark) that may wo

Re: [PHP] file locks

2002-04-09 Thread Liam Gibbs
<> Without testing, would this work? Just a suggestion (read: shot in the dark) that may work. while(!$filehandle) { $filehandle = @fopen("file_in_question", "r/w/whatever"); } <> You're welcome in advance. :) __ Do You Yahoo!? Yahoo! Tax C