SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jun 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help Me! Read Directory

    Hi to all friends !
    i have Folder with unlimited (maybe) sub folders . and last sub folders have unlimited(maybe) files.
    i want a code for this Event.
    Read the Directory (for Example: Data\Test).
    and for each Directory make a Group box with it self name and create a link
    for its files."all files are HTML" (fore example:
    Group Box One "Test"
    Link1
    Link2
    Link3
    ...
    Group Box Tow "Test2"
    Link1
    Link2
    Link3
    ...
    ------------------------------------------------------------------------
    Can You Help Me?
    thank before your Answer.

  2. #2
    SitePoint Enthusiast
    Join Date
    Apr 2009
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You will need to use a server-side language such as ASP/.NET/PHP to read the folder structure, JS is client side only!


Bookmarks

Posting Permissions

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