Kim Jensen wrote:
> Pedro Graca wrote:
>> Are you really sure you want to do that?
>> You have top open each and every file, read/print its contents, and close
>> the file. It might be a lot slow!
>
> About the slowness. Couldn't it be done so that it only took the files
> starting with a specific letter?
>
> So that if I want to see a listing of the files starting with A I'd open
> dir.php?letter=a
Or you could make a 'index' file and only open that one. Its contents
would be something like:
angelinajolie.txt Angelina Jolie
gwynnethpaltrow.txt Gwynneth Paltrow
judelaw.txt Jude Law
lawrenceolivier.txt Sir Lawrence Olivier
michaelgambon.txt Michael Gambon
Or use a database.
Of course these options assume the 'index' file and the database would
be updated for every new file ... (and deletions and changes).
--
Mail sent to my "From:" address is publicly readable at
http://www.dodgeit.com/
== ** ## !! !! ## ** ==
TEXT-ONLY mail to the complete "Reply-To:" address ("My Name" <my@address>) may
bypass the spam filter. I will answer all pertinent mails from a valid address.