You are here: Re: <input type=file> - return file name without path? « HTML « IT news, forums, messages
Re: <input type=file> - return file name without path?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация