本来input file里面的路径是这样的:C:\Users\Administrator\Desktop\953025.sql
然后通过js 获取后就变了:
c:\fakepath\953025.sql
怎么样才能获取到之前的那个绝对路径,希望能够适合所有的浏览器!!!!!
数据分析师2017-10-01 00:02:33
The problem of getting the input file path in js-PHP Chinese website Q&A-The problem of js getting the input file path-PHP Chinese website Q&A
Just watch and learn.