You are here: Re: Flat-file database « All PHP « IT news, forums, messages
Re: Flat-file database

Posted by jukka on 09/28/04 11:42

d wrote:
> That's not really a flat-file database, more of a bunch of
> sequentially-numbered files. For it to be a database, you'd have to have a
> way of looking up the contents of the files in a useful fashion (dredging
> through a directory of files is not exactly useful).
>
> May I enquire as to why you aren't using a more traditional database?
>
> dave

Well I was just experimenting on how to get by if I don't have a
mysql/other DB available.

Gernot Frisch wrote:
> store their file names in a dictionary file?

What do you mean? As in have one text file that contains the names of
all the entries in the directory, and then check the last five lines of
it? (Is there a clever way of reading only the last or first five lines?)

 

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

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