From: "Daniel Guerrier" <[EMAIL PROTECTED]>

> If I pass a $_FILES to an object by value.  Does it
> create a copy of the actual posted files as well?
>
> In other words if I post a 2MB file to save.php and in
> turn pass $_FILES to an object $file->fileis($_FILES);
> Does that create 4MB of data in memory?

No. The actual file data is not in the $_FILES array. There is just an
element that contains the name of the temporary file, but not the actual
data.

---John Holmes...

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

Reply via email to