[PHP] Re: How to upload files up to 40MB with a html post form?

2007-02-14 Thread Colin Guthrie
Robert Cummings wrote: On Wed, 2007-02-14 at 13:54 +0100, David Blanco wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hola! Mauricio Muriel escribió: How can I upload files up to 40MB with a html post form? (without a ftp client) Please, remember 1. My hosting provider has up

Re: [PHP] Re: How to upload files up to 40MB with a html post form?

2007-02-14 Thread Robert Cummings
On Wed, 2007-02-14 at 14:05 +, Colin Guthrie wrote: Robert Cummings wrote: On Wed, 2007-02-14 at 13:54 +0100, David Blanco wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hola! Mauricio Muriel escribió: How can I upload files up to 40MB with a html post form? (without

[PHP] Re: How to upload files up to 40MB with a html post form?

2007-02-14 Thread Colin Guthrie
Robert Cummings wrote: On Wed, 2007-02-14 at 14:05 +, Colin Guthrie wrote: Robert Cummings wrote: On Wed, 2007-02-14 at 13:54 +0100, David Blanco wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hola! Mauricio Muriel escribió: How can I upload files up to 40MB with a html post

Re: [PHP] Re: How to upload files up to 40MB with a html post form?

2007-02-14 Thread Robert Cummings
On Wed, 2007-02-14 at 14:22 +, Colin Guthrie wrote: Robert Cummings wrote: On Wed, 2007-02-14 at 14:05 +, Colin Guthrie wrote: Robert Cummings wrote: On Wed, 2007-02-14 at 13:54 +0100, David Blanco wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hola! Mauricio

Re: [PHP] Re: How to upload files up to 40MB with a html post form?

2007-02-14 Thread Andrei
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

Re: [PHP] Re: How to upload files up to 40MB with a html post form?

2007-02-14 Thread Robert Cummings
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

Re: [PHP] Re: How to upload files up to 40MB with a html post form?

2007-02-14 Thread Sergiu Voicu
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

Re: [PHP] Re: How to upload files up to 40MB with a html post form?

2007-02-14 Thread Arpad Ray
Sergiu Voicu wrote: 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); ini_set() will have no effect there because by the time the script is executed, the upload has finished. You can probably use php_value to

[PHP] Re: [?? Probable Spam] Re: [PHP] Re: How to upload files up to 40MB with a html post form?

2007-02-14 Thread Andrei
Actually there are 3 directives to change: ini_set(upload_max_filesize,41M); ini_set(post_max_size,52M); // alyway bigger than upload_max_filesize ini_set(memory_limit,64M); // anyway bigger than post_max_size Presuming you got over 120 seconds time limitation and this still doesn't