title: How to select a folder through php and sent path to script
body: <p>I'm currently working on a website where the user has to select a folder, which contains a number of data files. The path to this folder then has to be passed to a Perl-script. The script will then run the content of the folder. </p>
  
  <p>The website, files and scripts will all be running on the same server. The user only has to use the web interface to select the folder in which the needed files are present, the path will then be passes to the script. So no uploading is needed, only selecting a folder path...</p>
  
  <p>I hope this explanation is somewhat clear. </p>
  
  <p>edit:
  I could select one of the files, retrieve the full path to the file and then remove the file name, but that seems not very efficient to me. </p>