Results 1 to 4 of 4

Thread: browse directory

  1. #1

    Thread Starter
    Lively Member johnrswanton's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    84

    browse directory

    Hi all,

    i have a form which i would like the user to browse for a directory on their own local computer. All i need is the directory name eg. "C:\myFolder\subfolder"
    can anyone help me

    Thank
    ***********
    "why do things that are suspose to bad for us taste so good, whats ur addiction"
    Kanye West
    **********

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: browse directory

    not really anything to do with PHP -- but, no, not as far as I know. there is a file <input>, but it doesn't let you select a directory. there is no way for you to let a user upload an entire directory or anything like that, either, if that's what you're trying to do. you'd have to have some sort of java/flash based application to do the work for you.

  3. #3

    Thread Starter
    Lively Member johnrswanton's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    84

    Re: browse directory

    well what i need to do if for the user to chose a directory on their own computer and from that get a list of all the files in that directory
    ***********
    "why do things that are suspose to bad for us taste so good, whats ur addiction"
    Kanye West
    **********

  4. #4
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: browse directory

    .. well, you can't do that with any server side technology. server side languages are restricted to acting on the server, not the client.

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