[PHP] file uploading = dumping into ram?

2002-01-03 Thread David
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

Re: [PHP] file uploading = dumping into ram?

2002-01-03 Thread Chris Lee
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]

Re: Re: [PHP] file uploading = dumping into ram?

2002-01-03 Thread David
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