On Mon, 13 May 2002, Manisha wrote:
> At 10:06 PM 5/12/02 -0500, Miguel Cruz wrote:
>>> I just want to know whether it is necessary (compulsory) to have file lock
>>> before writing to file?
>>
>> It is definitely a good idea if you don't want corruption. You may find
>> a database is easier in the long run.
> 
> Do you mean to say that even if it is not compulsory - it is advisable to 
> do so ?

Yes, because otherwise you may have processes overwriting each others' 
data.

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to