0

I want to get original selected file path (path from where i selected file) using PHP from input type file.

In other relavant questions about this all says about $FILE['tmp_name'] and using JavaScript.but I need this solution using PHP code.

Can any one know about this. (Thanks in advance)

Ravi Oza
  • 113
  • 1
  • 8
  • There is not such a thing in `$_FILE` variable. In some browsers you can get it, for more info read this thread: https://stackoverflow.com/questions/15201071/how-to-get-full-path-of-selected-file-on-change-of-input-type-file-using-jav – ata May 31 '18 at 19:04
  • So is it possible to read that file after selecting and without uploading using tmp_name – Ravi Oza May 31 '18 at 19:12

0 Answers0