On Wed, December 12, 2007 11:28 am, Bob Sabiston wrote: > I'm trying to read some zlib-compressed data from a regular binary > file. When I try to attach the zlib compression filter, I am getting > an error: something about how the prebuffered data didn't work with > the filter and so the filter wasn't added to the filter chain. > > > I looked and found a way to turn off buffering for stream *writes*, > but not for stream reads. Can anyone help with ideas for why this > isn't working? I posted questions to comp.lang.php and received no > response. If all else fails, you could just not use the fancy-pants new stream and filter functions, and just use http://php.net/zlib directly on the file. It's also possible your zlib file is just plain corrupt, and neither will work... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php