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]
|