Well, basically, I'm just trying to do a batch upload for my photo album. I already have it setup so that I can upload one picture at a time. But say I want to upload all of the pictures from a wedding or something. They all belong to the same album, have the same date, same photographer, and some of the same categories. So i am trying to create a batch upload system for these purposes. I can do this for one file. I just need to make it possible for more than one..... Should I be seeing if there is a way I can get the user to be able to select more than one file from their computer (as opposed to selecting a directory)? Or am I simply going to have to get inventive with the use of several languages? Thanks for the feedback.
--Alex > Alex Brelsfoard wrote: >> I would like to create a form (html) that...give[s] the user >> an option to select a directory from their hard drive. Much like the >> <input type="file"....> option, only with this I want to select a >> directory. > > I think you're out of luck. You could always have a simple text box to > allow the user to enter the directory path, but I don't think a > "file"-type input box will allow you to select a directory, and this > functionality is controlled by the browser. > > >> Once that directory is selected and the form submitted I then plan on >> reading in the names of each file. > > You seem to be assuming the browser will send you the list of file > names, if the user selects a directory, or that you somehow have access > to the client's file system from the server where your code is running. > Unless your setup involves a web server running on the same machine as > the web browser, this is unlikely. > > So even if you had the list of file names in the directory, there > wouldn't be anything you'd be able to do with those files. > > -Tom > _______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

