I need to file name and file path when i select a file for upload with a file object in form. It can be use with javascript or jquery i think because i need to use it on browser.
I tried this ways This is my file object id and name : Upload1
$("#Upload1").val();
$('#Upload1').attr("value");
document.getElementById("Upload1").files[0].name;
this.Upload1.value;
It returns "C:\fakepath\example.gdb" or "example.gdb"
but i need to original path of file. and it should not be temporary file and path for example : $_FILES["Upload1"]["tmp_name"]
Please help... Thanks.