Posted by Sanders Kaufman on 11/15/06 15:31
Jim Carlock wrote:
> Is there a native database environment built into PHP, not
> one that connects to an outside database, but one that writes
> to it's own data files.
Yeah - the file system *is* a database.
> The file operations work well enough that I'm thinking that
> I'll just throw things into a csv formatted file and read and
> write from such. I'm taking a look at the fgetcsv() and
> fputcsv() functions right at the moment.
The biggest downside to this is concurrency. If
you're not careful, you could find that two users
working at the same time could futz up your file
reads and writes.
Navigation:
[Reply to this message]
|