Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

move_uploaded_file equivalent in js

No, javascript does not have the ability to have files uploaded to it or to move them around on a disk.

Javascript is sandboxed, meaning that it cant do anything outside of its running context.

This is for obvious security reasons... mainly the risk that a malicious site would upload some sort of virus or other malware to your device and then move it somewhere on your device using pure javascript...

This would be bad.
 
PREVIOUS NEXT
Tagged: #equivalent #js
ADD COMMENT
Topic
Name
9+8 =