Results 1 to 2 of 2

Thread: Read all from folder

  1. #1

    Thread Starter
    Addicted Member TheGoldenShogun's Avatar
    Join Date
    Mar 2001
    Location
    VA/MD... anywhere around the beltway
    Posts
    236

    Read all from folder

    Is there a javascript that can read all the files from a folder? What I'm trying to do is set up a slideshow for all images in a certain folder ( so I dont have to hard code each new image I add each time I add it ) and I plan to change that contents of the folder at least once a week. Any ideas? Can this be worked in JavaScript or should I look to a PHP/ASP/Perl type script?

  2. #2
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    JavaScript is a Client Side language and thus cannot read the contents of a folder, PHP on the other hand can.
    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

Posting Permissions

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



Click Here to Expand Forum to Full Width