Ok
I think, it may be solved using a mix of JavaScript and two forms:
The first form will contain all elements in addition a hidden element which will carry the value of the path and note:
Do not create a submit element.
The second form will contains the file element. and don't assign an action for it
Now we will create a simple JavaScript Function to do the transfer:
function transit()
{
form1.hideE.value=form2.file.value;
form1.submit();
}
Now place a simple image as a button in your script. and add the event handler onClick as attribute:
<img src="button.gif" onClick="transit()">
By this way we ensure the transmition of the file path as a string to our php script with out upload fils to temp folder.
It's clear I used the second form only to open the brows file window easly and get the file path from itπ