Re: Location of original file uploaded via html form
- From: kenoli <kenoli.p@xxxxxxxxx>
- Date: Sat, 26 Apr 2008 13:47:42 -0700 (PDT)
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
.
- Follow-Ups:
- Re: Location of original file uploaded via html form
- From: Jerry Stuckle
- Re: Location of original file uploaded via html form
- References:
- Location of original file uploaded via html form
- From: kenoli
- Re: Location of original file uploaded via html form
- From: J.O. Aho
- Location of original file uploaded via html form
- Prev by Date: Encountering attachment size limit using class htmlMimeMail
- Next by Date: Re: Location of original file uploaded via html form
- Previous by thread: Re: Location of original file uploaded via html form
- Next by thread: Re: Location of original file uploaded via html form
- Index(es):
Relevant Pages
|