> Can anyone explain the use of the stream_bucket_* functions at all? It looks like you use them when writing PHP stream filters. The filter mechanism gives you an input and output "bucket" and you transfer bits of input to output, performing your filtering on the way.
The page below has sample code and says "you can't just operate on the bucket resources directly; instead, you need to call a few helper functions to convert the data from a resource to an object that is modifiable in PHP.", which sums it up quite nicely I reckon. http://etutorials.org/Server+Administration/upgrading+php+5/Chapter+8.+Streams+Wrappers+and+Filters/8.6+Creating+Filters/ Cheers, Julian. --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---
