Reputation: 1803
I am trying to open a dialog box to simply be able to choose a folder to get its path. I am going to be using a network resource, and this site is only accessible to those IPs within our network's subnet. I've considered using this type of element for picking a folder: <input type="file" webkitdirectory directory>
. However, the lack of support for IE doesn't work. The only reason I'm asking this question on here is that I've spent hours on Google trying to research this to no avail. Does anyone know of a folder picker for PHP/JavaScript? Thank you in advance!
Upvotes: 0
Views: 671
Reputation: 987
If you are trying to be compatible AND use pure JS I think you're out of luck.
I would not recommend, but it possible to to this with Java applet or Flash, but it's not really a modern approach.
Then again, if you're not uploading files or accessing the local file system, why do you need the client folder path?
Upvotes: 1