Re: Location of original file uploaded via html form



On Apr 26, 11:20 am, "J.O. Aho" <u...@xxxxxxxxxxx> wrote:
kenoli wrote:
The global $_FILES provides the name of a file submitted in an html
form on the client machine. Is there any way to derive the path to
that file on the client machine?

Not in plain PHP, but you could add a hidden input field, into which you
save the path set in the file-input field with help of javascript and
hope that the users using your form will have the javascript enabled.

--

//Aho

Great that's helpful.

--Kenoli
.



Relevant Pages

  • Re: Location of original file uploaded via html form
    ... form on the client machine. ... Not in plain PHP, but you could add a hidden input field, into which you ... hope that the users using your form will have the javascript enabled. ...
    (alt.php)
  • Re: Location of original file uploaded via html form
    ... kenoli wrote: ... form on the client machine. ... Not in plain PHP, but you could add a hidden input field, into which you save the path set in the file-input field with help of javascript and hope that the users using your form will have the javascript enabled. ...
    (alt.php)