Upload limits can be imposed in 2 ways (maybe more, but I know only 2)
when it is about Apache+PHP:
1. From apache with LimitRequestBody Directive
2. From php.ini with upload_max_filesize directive
If you are in the first case (which I doubt), and the provider allows
the use of .htaccess files, create a .htaccess file in the document root
and put this line into it:
LimitRequestBody 42991616
In the second case, and if PHP isn't in safe mode, at the beggining of
your script place this line
ini_set("upload_max_filesize","41M");
Cheers
Sergiu
Robert Cummings wrote:
On Wed, 2007-02-14 at 16:51 +0200, Andrei wrote:
LOL. You got lost in details...
To answer the question... You cannot upload files bigger than 10Mb
unless your provider changes the values from php.ini (regarding upload
file size, form max size and memory max size) and you cannot upload even
less than 10Mb files if the time needed to upload it takes longer than
120 seconds.
Which comes back to the original advice (Jay's I think)... get a new
provider :B
Cheers,
Rob.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php