You are here: Re: <input type="file"> change where file gets uploaded? « HTML « IT news, forums, messages
Re: <input type="file"> change where file gets uploaded?

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)

 

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация