Web Analytics Made Easy -
StatCounter List files from a server directory - CodingForum

Announcement

Collapse
No announcement yet.

List files from a server directory

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • List files from a server directory

    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.

    Cheers,

  • #2
    You need server side scripting to accomplish that.....
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"

    Comment


    • #3
      Or if you name/number the images sequentially then you could generate the table with images using javascript.
      Spookster
      CodingForum Supreme Overlord
      All Hail Spookster

      Comment

      Working...
      X