【问题标题】:How do I fetch the full filepath that is displayed in browse button [duplicate]如何获取浏览按钮中显示的完整文件路径[重复]
【发布时间】:2012-10-09 12:36:14
【问题描述】:

可能重复:
Full path from file input using jQuery
how to resolve the C:\fakepath?

我在我的应用程序中使用多个文件上传,我想获取浏览小部件中显示的完整文件路径。

例如,假设文件路径是“home/administrator/Pictures/bird.jpeg”。我只能获取文件名(bird.jpeg)。使用 PHP 和 Firefox 作为我的浏览器,除了获取完整的文件路径,还有其他方法吗?

【问题讨论】:

    标签: php javascript


    【解决方案1】:

    由于浏览器安全设置,您无法获取。

    【讨论】:

      猜你喜欢
      • 2018-10-03
      • 2016-12-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-21
      • 2015-01-21
      • 2014-09-30
      相关资源
      最近更新 更多