[PHP] check if file is already in use before fopen

2001-10-04 Thread Matthew Luchak
Title: Blank Is there a way to verify if a file is in use by another user before fopening it? Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED]

Re: [PHP] check if file is already in use before fopen

2001-10-04 Thread Jason Stechschulte
On Thu, Oct 04, 2001 at 11:10:56AM -0400, Matthew Luchak wrote: Is there a way to verify if a file is in use by another user before fopening it? As far as I know this is something you have to program in yourself. If you are only worried about your programs accessing the file, then it is a

Re: [PHP] check if file is already in use before fopen

2001-10-04 Thread Brian White
Check out the flock fucntion At 16:20 4/10/2001 -0400, Jason Stechschulte wrote: On Thu, Oct 04, 2001 at 11:10:56AM -0400, Matthew Luchak wrote: Is there a way to verify if a file is in use by another user before fopening it? As far as I know this is something you have to program in