File upload memory usage.

From: Date: Wed, 24 Jul 2002 13:48:48 +0000
Subject: File upload memory usage.
Groups: php.general 
Request: Send a blank email to php-general+get-109301@lists.php.net to get a copy of this message
Hi, I'm currently locked in a battle with PHP and file uploads. I've searched the list to no avail. I actually found a guy with the same problem who ended up using perl to make this work. I'm trying to avoid that. The problem is, I'm dealing with huge POST uploads (100+ mb). And everytime you upload a file it stores it in RAM and then dumps the file to the drive. Is there any way around this? This is extremely dangerous. Since this customer may have multiple people uploading at the same time, it could result in a massive memory hit over a long period of time. Now I figured PHP would pipe the POST stream into a temporary file instead of holding it in RAM. This is how it should work right? _Any_ help would be appreciated before I have to recode this section in perl. Thank you greatly in advance! If you live close to me, drinks are on me! :) Take care everyone, -reid

« previous php.general (#109301) next »