You are here: Re: OT: MySQL And Native File Writes Versus Ports and TCP/IP « PHP Programming Language « IT news, forums, messages
Re: OT: MySQL And Native File Writes Versus Ports and TCP/IP

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация