-2

Usual file upload code:

<input type="file">

this type show, upload file only. but want to get where file placed in client side.

Nik
  • 2,885
  • 2
  • 25
  • 25
gvn
  • 3
  • 5
  • 2
    Possible duplicate of [How to get full path of selected file on change of using javascript, jquery-ajax?](https://stackoverflow.com/questions/15201071/how-to-get-full-path-of-selected-file-on-change-of-input-type-file-using-jav) – Nico Haase Mar 25 '19 at 10:55

1 Answers1

0

If you want to get full path where file is stored on device, this is not possible, as far as I know.

You should get temporary path, which should be used to do something with the file, for example copy to the server.

More about:

How to get the file path in html <input type="file"> in PHP?

DFJ
  • 93
  • 2
  • 9