Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Location
    Melbourne, Australia
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question 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
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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"

  • #3
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Or if you name/number the images sequentially then you could generate the table with images using javascript.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •