You are here: Re: Cannot upload large files « PHP Programming Language « IT news, forums, messages
Re: Cannot upload large files

Posted by jodleren on 10/12/37 12:00

On Jan 15, 8:23 am, jodleren <sonn...@hot.ee> wrote:
> On Jan 14, 4:15 pm, Kim André Akerø <kiman...@NOSPAMbetadome.com>
> wrote:
>
>
>
>
>
> > Rik Wasmus wrote:
> > > On Mon, 14 Jan 2008 13:31:55 +0100, jodleren <sonn...@hot.ee> wrote:
> > > >On Jan 14, 1:39 pm, Captain Paralytic <paul_laut...@yahoo.com> wrote:
> > > >>On 14 Jan, 11:27, jodleren <sonn...@hot.ee> wrote:
>
> > > >>> I have an app, where I should upload files...
> > > >>> Problem: when e.g. uploading 14MB (just 10MB) the page will load,
> > > then >>> go back to the original page.... by some reason I cannot
> > > upload large >>> files, larger than some 5 MB.
> > > > > What does phpinfo() tell you about maximum upload size?
> > > > Got it - it says 12M(b). I'll look for a way to prompt that to the
> > > > user,
>
> > > if($_FILES['keyname']['error'] == UPLOAD_ERR_INI_SIZE) //alert user
>
> > That is, of course, if post_max_size hasn't been exceeded as well.http://www.php.net/manual/en/ini.core.php#ini.post-max-size
>
> I really see my problem now - but my system is hosted at one.com,
> where my client holds their stuff. I was just looking at/trying
> ini_set, but that failed. Since I am new to this - can I change these
> values in any way?

Or can I at least read these out, so I can inform the user of the max
file size?

php_info echoes it all right way...

 

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

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