note 72604 deleted from function.register-shutdown-function by crell

From: Date: Thu, 31 Mar 2022 17:07:22 +0000
Subject: note 72604 deleted from function.register-shutdown-function by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-217861@lists.php.net to get a copy of this message
Note Submitter: Ldkronos ---- It's already been discussed on the zlib page ( http://www.php.net/zlib ), but hasn't been mention here... When zlib compression is enabled, register_shutdown_function doesn't work properly. Anything output from your shutdown function will not be readable by the browser. Firefox just ignores it. IE6 will show you a blank page. The workaround that worked for me is to add the following to the top of the script. ini_set('zlib.output_compression', 0);

« previous php.notes (#217861) next »