Re: zlib and fopen and stream_filter_append, prebuffer read errors help

From: Date: Wed, 12 Dec 2007 20:31:06 +0000
Subject: Re: zlib and fopen and stream_filter_append, prebuffer read errors help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-265801@lists.php.net to get a copy of this message
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?

« previous php.general (#265801) next »