#26419 [Bgs]: ob_gzhandler and pdf

From: Date: Wed, 26 Nov 2003 21:03:24 +0000
Subject: #26419 [Bgs]: ob_gzhandler and pdf
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51117@lists.php.net to get a copy of this message
ID: 26419 User updated by: giuseppe dot costagliola at sanpaolowm dot com Reported By: giuseppe dot costagliola at sanpaolowm dot com Status: Bogus Bug Type: Output Control Operating System: OS400 PHP Version: 4.3.3 New Comment: I did NOT fixed the problem. This was just a circumvention. zlib.output_compression and output_handler do not perform the same (at least on our browsers). I think that because ob_gzhandler combined with pdf fails with IE (that is used by the majority of users, even if it has a lot of bugs) and not with Netscape this question wouldn't be shortly put in the bogus can. I will repost in another way just to make things more clear. Thanks. Previous Comments: ------------------------------------------------------------------------ [2003-11-26 10:22:28] jay@php.net Since you fixed the problem (which is most likely an IE bug), bogusing... J ------------------------------------------------------------------------ [2003-11-26 04:18:09] giuseppe dot costagliola at sanpaolowm dot com We tried to set zlib.output_compression = on in php.ini and disable with ini_set("zlib.output_compression","off") right before sending pdf and this way seems to work. ------------------------------------------------------------------------ [2003-11-26 03:35:05] giuseppe dot costagliola at sanpaolowm dot com Description: ------------ We configured "output_handler = ob_gzhandler" and it works fine for any text/html output. However when our php page creates a pdf to be seen online, the IE prompts for download (while on Netscape it's displayed correctly). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26419&edit=1

« previous php.bugs (#51117) next »