Re: [PHP-DEV] compressed streams

2004-08-04 Thread Nuno Lopes
Great idea, Wez! It is working now. Nuno - Original Message - > A filter != wrapper, so copying the code won't work. > Filters are preferred over wrappers for compression/decompression in any case. > > I didn't say we weren't going to fix the bug, just that it might not > be fixable; n

Re: [PHP-DEV] compressed streams

2004-08-04 Thread Nuno Lopes
> > This code is in PHP 5.1. We have plents of time to fix it. > > If the PECL code works, why not copy it? I need this to allow anyone to > > compile livedocs with notes (without needing the token) > > The point of the token is that people can not get the notes easily. So I > wonder how you're ha

Re: [PHP-DEV] compressed streams

2004-08-04 Thread Derick Rethans
On Wed, 4 Aug 2004, Nuno Lopes wrote: > This code is in PHP 5.1. We have plents of time to fix it. > If the PECL code works, why not copy it? I need this to allow anyone to > compile livedocs with notes (without needing the token) The point of the token is that people can not get the notes easily

Re: [PHP-DEV] compressed streams

2004-08-04 Thread Wez Furlong
A filter != wrapper, so copying the code won't work. Filters are preferred over wrappers for compression/decompression in any case. I didn't say we weren't going to fix the bug, just that it might not be fixable; need to check into it. You don't *need* it, since you can always do this: $name = t

Re: [PHP-DEV] compressed streams

2004-08-04 Thread Nuno Lopes
This code is in PHP 5.1. We have plents of time to fix it. If the PECL code works, why not copy it? I need this to allow anyone to compile livedocs with notes (without needing the token) Nuno - Original Message - > Most likely a bug in the bzip2 wrapper. > It might not be fixable, and i

Re: [PHP-DEV] compressed streams

2004-08-04 Thread Wez Furlong
Most likely a bug in the bzip2 wrapper. It might not be fixable, and it might be better to use Sara's bzip2 filter from pecl instead. --Wez. On Wed, 4 Aug 2004 12:04:31 +0100, Nuno Lopes <[EMAIL PROTECTED]> wrote: > Hello, > > I know this isn't as exciting as the GOTO discussion, but I need some

Re: [PHP-DEV] compressed streams

2004-08-04 Thread Nuno Lopes
> On Wed, 4 Aug 2004, Nuno Lopes wrote: > > > This gives an error: > > Warning: fopen() 1137 bytes of buffered data lost during stream conversion! > > in /cvs/livedocs/test_bz.php on line 3 > > > > And outputs nothing more. I'm using PHP 5.1. > > > > Whats is wrong here? > > File a bug for this? >

Re: [PHP-DEV] compressed streams

2004-08-04 Thread Derick Rethans
On Wed, 4 Aug 2004, Nuno Lopes wrote: > This gives an error: > Warning: fopen() 1137 bytes of buffered data lost during stream conversion! > in /cvs/livedocs/test_bz.php on line 3 > > And outputs nothing more. I'm using PHP 5.1. > > Whats is wrong here? File a bug for this? regards, Derick --