Defining Form Input with Dialog
Posted
by Workoholic
on Stack Overflow
See other posts from Stack Overflow
or by Workoholic
Published on 2010-04-28T13:46:18Z
Indexed on
2010/04/28
13:53 UTC
Read the original article
Hit count: 408
Hi. I want my php application to allow the user to select a file from their computer. I then want to store the file's path, but I don't want to upload the file.
With the <input type="file" />
, the file is uploaded, which would take too long.
Is there a way to do this? Maybe if I change the input's type to text with jquery right before the form is sent? I could just let the user type the path, but that is not very convenient...
© Stack Overflow or respective owner