Hi all i just want to know if we can read a file using javascript like
javascript
what we do
fp=("r","path")
like that is it possible?
No, that's not possible in a browser. Javascript runs in a sandboxed environment and doesn't have access to the file system. You might need to special plugins to be installed on the client browser in order to access his file system.
2.1m questions
2.1m answers
60 comments
57.0k users