Reply to Re: <input type="file"> change where file gets uploaded?

Your name:

Reply:


Posted by Kim Andr� Aker� on 10/18/06 13:59

Mark wrote:

>
> Leif K-Brooks wrote:
> > Mark wrote:
> > > So, from my understanding, when you use <input type="file"> your
> > > file gets uploaded to some temporary folder...
> > >
> > > But is there a way to change where it gets uploaded?
> > >
> > > On my web server, all sites share the same temp folder..so I want
> > > to it to upload somewhere on my site.
> >
> > That's a server-side issue. HTML doesn't know or care how your
> > server processes uploaded data.
> >
> > Since you haven't told us what server-side technology is handling
> > the upload, we can't tell you how to configure it.
>
> Ah... I was told I could do something like <input
> type="public_html/folder/file"> but... that didn't strike me as right.
>
> However, apparently it can be set in php.ini (since I am using php
> anyways...)

Since you're using PHP, check the manual:
http://php.net/features.file-upload

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

[Back to original 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

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