I know it is possible to read all the files from a folder on the server. Is it possible to do the same on the users computer? Say if they select a folder on their system, can you read in all the files from it. Say this is for a file upload.
Reading from users computer
Collapse
X
-
Tags: None
-
Heya, eddyman592.
For security reasons, scripts cannot do this (What if there were a symbolic link in that directory? What if the script tried to access ..? What if there were a folder in there that you didn't want the script to access?).
My recommendation would be to:- Allow the User to upload a ZIP archive, or
- Create a dynamic form that allows the user to create file inputs on the fly.
Comment