Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12178 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29662 invoked by uid 1010); 15 Aug 2004 17:29:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29638 invoked from network); 15 Aug 2004 17:29:20 -0000 Received: from unknown (HELO smtp02.mrf.mail.rcn.net) (207.172.4.61) by pb1.pair.com with SMTP; 15 Aug 2004 17:29:20 -0000 Received: from 146-115-58-203.c3-0.wtr-ubr1.sbo-wtr.ma.cable.rcn.com ([146.115.58.203] helo=[192.168.10.3]) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BwOoq-0001B6-00; Sun, 15 Aug 2004 13:29:20 -0400 Message-ID: <411F9D5E.5080603@rcn.com> Date: Sun, 15 Aug 2004 13:29:02 -0400 User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Uwe Schindler CC: Crispin Olson , internals@lists.php.net References: <6.1.2.0.0.20040815173220.03a33548@bla> <411F9463.8090600@rcn.com> <6.1.2.0.0.20040815191653.0407f788@127.0.0.1> In-Reply-To: <6.1.2.0.0.20040815191653.0407f788@127.0.0.1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PATCH] PHP_IMAP New Function "imap_partialbody" to fetch chunks of a MIME attachment From: crispin@rcn.com (Crispin Olson) Uwe Schindler wrote: > This would be also interesting: > For decoding base64 binarys you could use the string.base64 stream > filter then (PHP5)! :) > > Uwe > That does make sense - I didn't realise there was a base64 stream filter in PHP5 (I'm still using 4.3) That would make it possible to hook a stream directly up to an attachment, so an attachment download in webmail could be achieved without any PHP memory overhead whatsoever, and 3 lines of code - sweet. Crispin