If this theory is true, you may try fpassthru().
replaced: readfile($name); with: $fp = fopen($name, 'rb'); fpassthru($fp);
and now I don't loose 250 Meg of memory every time I download a 250Meg file. If someone wants to add this to the readfile() php manual - great.
Thanks
Robin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php