Re: Max File Upload Size
| From: | T.Lensselink | Date: | Sun, 12 Nov 2006 14:52:47 +0000 |
| Subject: | Re: Max File Upload Size | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244518@lists.php.net to get a copy of this message | ||
Have a look on this page for all the ini settings..
It will also say if it is changeable
http://nl2.php.net/manual/en/ini.php#ini.list
Tom Chubb wrote:
> This is a really stupid question, but I've not been able to find an
> answer for it.
> I have always thought that your max upload size is limited to the
> value in the php.ini file.
> However I recently changed a site to a new server which had problems
> with memory on one of the image resizing scripts.
> I managed to work around it by inserting one line at the start of the
> problem script:
>
> ini_set("memory_limit","32M");
>
> Can a similar thing be done with the upload_max_filesize?
>
> Assuming that it can't, what is a good workaround? Using FTP within a
> script?
> This is for uploading an audio file, typically 4MB.
> Thanks in advance,
>
> Tom
>