On Wednesday 24 July 2002 21:48, Reid Sutherland wrote:
> 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?

Apparently that is how it will work in a _future_ version of PHP. But for now 
it's all stuffed in RAM until the complete file is received.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Yow!  Did something bad happen or am I in a drive-in movie??
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to