Can't get the complete address while uploading a file

后端 未结 2 432
误落风尘
误落风尘 2020-12-02 02:09

I want to send the mail as an attachment from HTML pages to mail server, but whenever I upload any file from HTML page, I\'m not getting its complete address. I\'m just get

相关标签:
2条回答
  • 2020-12-02 02:29

    You are not able to get the full path of the uploaded file. That is a security risk that browsers have been clamping down as of late.

    0 讨论(0)
  • 2020-12-02 02:46

    I suppose you refer to uploading a file in a HTML form.

    The filename you receive may or may not contain the full path, depending on your web browser. For example, there are differences between uploading from Firefox as opposed to Internet Explorer.

    0 讨论(0)
提交回复
热议问题