|
Posted by Dan on 12/09/06 18:22
jonesy <3 wrote:
> Is it possible using <input type="file"> to return the file name
> without the path?
>
> If not, is there any other way of coding a "browse" button that after
> selecting a file it returns just the file name into the text box?
You should program your back-end server script, which receives the
results of such a form, to process the field as needed (including
stripping out the path), rather than relying on the browser to send
exactly what you want.
Note that the syntax of a path may vary greatly between different
operating systems.
--
Dan
Navigation:
[Reply to this message]
|