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 walterbyrd on 07/26/06 23:06

PTM wrote:

> php is server side. once your page is loaded it cant actually do anything
> with it unless a link or button requests another php function or script
>

As mentioned in my original post: "I want the user to click on
a link, and the server side php app does the rest." Instead of the
user entering the path and file name, I want the path and file name as
part of the code.

> you could always use a hidden field containing the information you would
> expect for the file to be submitted.
> then have a submit button that would process the form and do the upload.
> you would also need to verify that the file was actually located and called
> what you expected, users being what they are this might not always be the
> case

Something like that might work. I wish I could have the default path
and file name in the box, like you can do when input="text" maybe I'll
just put the default path/file name above the box, where it can easily
cut and pasted.

 

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

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