搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to get the full path of the upload file by the user,it works in IE but in FireFox 18 it just gives file name instead of fullpath

more options

I am using Fire Fox 18.0.2,I could not able to get the full path of the file upload but it works in IE,where as in Firefox it just gives only the file name with extension.How to get the full path of the upload file.

I am using Fire Fox 18.0.2,I could not able to get the full path of the file upload but it works in IE,where as in Firefox it just gives only the file name with extension.How to get the full path of the upload file.

所有回复 (1)

more options

This is a security feature, preventing scripts from accessing the full path of a file to be uploaded using <input type="file">.

In earlier versions of Firefox, your script might have asked the user's permission to access privileged information, but this feature was removed in the past few versions of Firefox.

Why do you need the full path?