Writing the full path of the file when it is browsed using php

前端 未结 8 720
小蘑菇
小蘑菇 2021-01-17 17:35

So far I wrote a script so that I can browse for a file and see the printed name of the file. Here is the script:

 
8条回答
  •  不知归路
    2021-01-17 17:46

    I did hit the same issue but not in the same circumstances. Only IE10 gave me the full path while firefox (and probably all others) doesn't. In my case, i use a server with php, so i ask the user to select the file and i upload it on the server to use it how i need. I hope it helped.

提交回复
热议问题