Re: Re: [PHP] file uploading => dumping into ram?
thanks, i know what u mean, but what if you have to upload bigger files? is it possible that maybe the next php release will have a option to auto write the uploading file to disk(if the file being uploaded is bigger than a certain size) while uploading instead of slurping the entire file into ram. just a suggestion for improvement. :) >set your max upload file size smaller then. default is 2mb >max. I find that >too small, I re-set mine to 5mb. I have 2g of ram on our >server, 5mb isnt a >worry to me. Id rather that then the slow speed of writing >the file to the >hd. > >-- > >Chris Lee >[EMAIL PROTECTED] > > > >\"David\" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> hi all, >> >> I wes doing some file upload stuff with php when i noticed >that as the >file is being uploaded, the entire file is stored in ram >until it\'s >finished. >> >> obviously, we know the problems associated with this(use >up a lot of ram >for large files), i\'m just wondering, is this going to be >fixed soon in the >next release of php? >> >> i think those people using php to upload large files will >be very happy if >>it\'s fixed :) -- PHP General 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]
Re: [PHP] file uploading => dumping into ram?
set your max upload file size smaller then. default is 2mb max. I find that too small, I re-set mine to 5mb. I have 2g of ram on our server, 5mb isnt a worry to me. Id rather that then the slow speed of writing the file to the hd. -- Chris Lee [EMAIL PROTECTED] "David" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi all, > > I wes doing some file upload stuff with php when i noticed that as the file is being uploaded, the entire file is stored in ram until it\'s finished. > > obviously, we know the problems associated with this(use up a lot of ram for large files), i\'m just wondering, is this going to be fixed soon in the next release of php? > > i think those people using php to upload large files will be very happy if it\'s fixed :) -- PHP General 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]
[PHP] file uploading => dumping into ram?
hi all, I wes doing some file upload stuff with php when i noticed that as the file is being uploaded, the entire file is stored in ram until it\'s finished. obviously, we know the problems associated with this(use up a lot of ram for large files), i\'m just wondering, is this going to be fixed soon in the next release of php? i think those people using php to upload large files will be very happy if it\'s fixed :) -- PHP General 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]