From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.5 PHP Bug Type: Feature/Change Request Bug description: Have to increase memory_limit to be able to upload big files If you want to use file upload, you have to correctly set upload_max_size and post_max_size. That's o.k. But you also have to set memory_limit and max_execution_time to values high enough. The former seems to be result of very poor design (I admit I haven't checked the source code closely but as far as I can tell from a quick look at main/rfc1867.c, the whole form is first read and stored in memory and only then parsed and divided into files instead of being parsed on the run). I am not sure about the second issue since I don't know how exactly max_exec*_time works. Is it counted from the very start of request or from the moment script starts being executed? (that is -- if I set max_execution_time to 30 secs and the upload takes 55 secs, will PHP die? or will the upload finish and script will get 30secs to run?). I know I can get around this limit -- I just wonder. -- Edit bug report at: http://bugs.php.net/?id=12316&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]