Re: Re: WELCOME to php-general@lists.php.net
| From: | Miguel Cruz | Date: | Mon, 13 May 2002 03:38:19 +0000 |
| Subject: | Re: Re: WELCOME to php-general@lists.php.net | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97298@lists.php.net to get a copy of this message | ||
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