You are here: Re: upload a file without user having to browse or enter file name « PHP Programming Language « IT news, forums, messages
Re: upload a file without user having to browse or enter file name

Posted by Alvaro G. Vicario on 07/26/06 16:25

*** walterbyrd escribió/wrote (26 Jul 2006 08:59:59 -0700):
> If there is no reasonable way around the form, can I, at least, get
> have a default field appear, so that all the user has to do is verify
> the file name and press the submit button?

You can use <input type="file" value="path/to/file"> but it won't work in
Internet Explorer, Mozilla Firefox or Opera.

JavaScript allows certain advanced file operations when using it from your
hard disk. See these pages:

http://www.c-point.com/JavaScript/articles/file_access_with_JavaScript.htm
http://www.tiddlywiki.com/

Maybe you can produce a form the user can save in his hard disk.

As about PHP, it obviously has no way to reach the client computer.



--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--

 

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

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