Re: FLOCK

2007-05-29 Thread Lou Hernsen
As much as I would like to use a database, like MySQL, I can't find an example of the code that isn't in a perl formay I can read and understand, I don't know alot about perl and its assumed vars like $_ and the super compressed codes using {[\f\t\t/t/y/g/d/d\.s1?]} .. yeah.. i jusy made that up bu

Re: FLOCK

2007-05-29 Thread Jay Savage
On 5/29/07, Akbar Ehsan <[EMAIL PROTECTED]> wrote: Hello Everyone, I am attempting to lock a file using FLOCK. I understand the FLOCK is an advisory lock and that it does not prevent any other process/program from "clobbering" the file even when the lock in on the file. Is there anything I shou

Re: FLOCK

2007-05-29 Thread Sean Davis
Akbar Ehsan wrote: Thanks for the response. Here is the situation. We have a web form that creates a tab-delimited text file. We want to lock this file to clean up the file, may be for a minute, so that if anyone submits a form request, it does not get written to the. I have been looking at and

Re: FLOCK

2007-05-29 Thread Sean Davis
Akbar Ehsan wrote: Hello Everyone, I am attempting to lock a file using FLOCK. I understand the FLOCK is an advisory lock and that it does not prevent any other process/program from "clobbering" the file even when the lock in on the file. Is there anything I should look into to apply a lock on

FLOCK

2007-05-29 Thread Akbar Ehsan
Hello Everyone, I am attempting to lock a file using FLOCK. I understand the FLOCK is an advisory lock and that it does not prevent any other process/program from "clobbering" the file even when the lock in on the file. Is there anything I should look into to apply a lock on a file so that it doe