Receiving fake path while uploading

后端 未结 4 1257
温柔的废话
温柔的废话 2020-12-21 16:53

Whenever the uploading process happens through the Browsers rather than IE, the path
belongs to the file from client side systems is showing like \"c:/fakepath/x.jpg\"

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-21 17:41

    This is a browser security restriction. You can't set the value of the file upload control via script, nor can you read the correct path.

提交回复
热议问题