Re: Re: WELCOME to php-general@lists.php.net
| From: | Miguel Cruz | Date: | Mon, 13 May 2002 03:06:40 +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-97294@lists.php.net to get a copy of this message | ||
On Mon, 13 May 2002, Manisha wrote:
> I am having a form, I want to write the form values into csv file.
>
> I just want to know whether it is necessary (compulsory) to have file lock
> before writing to file?
>
> There is only my program which is writing in the file - no other program.
> But many users can connect to web at a time - So is it necessary to have
> file lock ?
It is definitely a good idea if you don't want corruption. You may find a
database is easier in the long run.
miguel