Hello,
is it possible to make something like "gzipped echo"?.
My idea was:
$gzOut = gzopen('php://output','w');
but it fails with an error: <b>Warning</b>: gzopen(php://output) [<a
href='function.gzopen'>function.gzopen</a>]: could not make seekable -
php://output
That script generates a large text file to download, so I thought I can
gzip it somehow to make the downloads faster. The buffered way (to load
all the output to some $buffer and then echo gzencode($buffer,6);)
consumes too much memory.
Can anyone help me with this?
Best regards
Jakub Cermak
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php