note 18335 added to function.flush
| From: | swift at 3d4x dot de | Date: | Fri, 18 Jan 2002 18:51:19 +0000 |
| Subject: | note 18335 added to function.flush | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25055@lists.php.net to get a copy of this message | ||
If you are running PHP as an Apache-module and nothing happens if you use flush(), check if you are
using mod_gzip!
You can disable mod_gzip per directory or you can add a new type to httpd.conf (via "AddType
application/x-httpd-php .phpx" for example - don't include .phpx-files in mod_gzip then).
Here a snippet from my httpd.conf (excluded the test-file from mod_gzip):
<IfModule mod_gzip.c>
<Location /test/flushtest.php>
mod_gzip_on no
</Location>
</IfModule>
--
http://www.php.net/manual/en/function.flush.php
http://master.php.net/manage/user-notes.php?action=edit+18335
http://master.php.net/manage/user-notes.php?action=delete+18335
http://master.php.net/manage/user-notes.php?action=reject+18335