Max File Upload Size
| From: | Tom Chubb | Date: | Sun, 12 Nov 2006 12:49:04 +0000 |
| Subject: | Max File Upload Size | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-244516@lists.php.net to get a copy of this message | ||
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