How to resolve the C:\fakepath?

后端 未结 13 1921
梦如初夏
梦如初夏 2020-11-21 13:34

This is my upload button.



        
13条回答
  •  后悔当初
    2020-11-21 13:49

    Some browsers have a security feature that prevents JavaScript from knowing your file's local full path. It makes sense - as a client, you don't want the server to know your local machine's filesystem. It would be nice if all browsers did this.

提交回复
热议问题