Re: Updating a single line in a file
| From: | Rudd-O) | Date: | Sat, 18 Mar 2006 20:49:11 +0000 |
| Subject: | Re: Updating a single line in a file | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232196@lists.php.net to get a copy of this message | ||
Replies inlined.
Why dont you use a database for this? You will run into race conditions at some point. If you need a file based database take a look at sqlite. Curt. --About the race conditions, I didn't mentionned I had some extras code to care about concurrent writing on the file About database, I know that will be the best, but on this small site, I can't use full database! That's why they suggested a sqlite database, which uses a single file.
Thank you for your answer SR