[PHP-DEV] ob_gzhandler

2001-04-03 Thread Vadim Tkachenko
Can I use ob_gzhandler in function ? for example function test($str){ return ob_gzhandler($str,4096); } ob_start("test"); It worked with PHP 4.0.4, but not worked with any 4.0.5RC Vadim Tkachenko. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECT

[PHP-DEV] ob_gzhandler memory leak + readfile not working

2001-01-27 Thread Ivan Petrovic
Problems with php4.04pl1 Adding this line to php.ini is not enough: output_handler = ob_gzhandler ; I had to add: header("Content-Encoding: gzip"); to PHP files. Then it worked. It is really nice feature and it speeds things up. But the problem is, as some of you already reported, there is hu