37 users online (0 members and 37 guests)  


  Results 1 to 3 of 3

Related

  1. Replies: 2
  2. Replies: 3
  3. Replies: 1
  4. Need To Link to Image In A folder Above    Forum: HTML Forum
    Replies: 4
  1. #1
    garnermh's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    2

    Script to display names of files in that folder as link

    I have been searching for days for a script that will update a page every time its viewed to display the names of files within the same folder as the page. So that my boss can drag and drop new word documents to that folder and automaitcally update the page with the name of that file and a link to it. Is it possible?

  2. #2
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: Script to display names of files in that folder as link

    You don't need a script to do that.
    Unless you've set restrictions on the folder, just making sure there's no index.* and it will show you the file list.

    To verify this, though you'll need to let people know what webserver you're using etc.

  3. #3
    garnermh's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    2

    Re: Script to display names of files in that folder as link

    Thanks for the reply. I've enabled directory browsing so that does work. However I would like for the page that displays the name of the files to look like the rest of my site. Do you know if there is any way to edit the template that displays the file names in that folder?



Tags for this Thread