For decoding base64 binarys you could use the string.base64 stream filter then (PHP5)! :)
Uwe
At 18:50 15.08.2004, Crispin Olson wrote:
Uwe Schindler wrote:
How about the idea to make a function like "imap_getbodystream(...)" that returns a PHP stream that can be read with fread() etc. and then closed by fclose()?. This could be done by using Wez's PHP stream wrappers in PHP5 (even in PHP4.3).
Uwe
Uwe,
Not a bad idea, and I had thought of it too. Surely I need to be looking at the "Streams API for extension authors" though, rather than the wrapper functions if I want to create and maintain my own stream?
At this point I've kept it simple, because for the most part, php_imap is a simple wrapper layer onto the UW c-client, and that is also true for this function.
Crispin
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
----- Uwe Schindler [EMAIL PROTECTED] - http://www.php.net NSAPI SAPI developer Erlangen, Germany
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php