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

Posted by walterbyrd on 07/26/06 15:59

I am trying to develop an app where: the same file, in the same place,
will be uploaded, and then processed.

Everything I can find about uploading a file, uses a form that requires
the user to either manually enter the path and file name, or to browse
for the file. I do not want that. Ideally, I want the user to click on
a link, and the server side php app does the rest. Again, the file
always has the same name, and is in the same place.

Can I load the data into the $_File array via the code? i.e.: $_File
[name] = "mydatafile.txt" ?

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?

 

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

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