View Full Version : List files from a server directory

07-08-2002, 07:41 AM
I've got a simple web page that provides a list of images in a table. What I would like is for the table to be dynamically loaded with images.

In order to to this I would need to get a list of the files (similar to a "dir" in windows or a "ls" in unix).

Once I have the file list I can handle the dynamic HTML bit, its just getting the list off the server that I'm having the problem with.

If this seems like an simple problem its because I'm a bit of a newbie.


07-08-2002, 07:54 AM
You need server side scripting to accomplish that.....

07-08-2002, 08:15 AM
Or if you name/number the images sequentially then you could generate the table with images using javascript.