#29789 [Fbk->NoF]: Output handler set in ini not used
| From: | php-bugs at lists dot php dot net | Date: | Fri, 11 Feb 2005 00:00:33 +0000 |
| Subject: | #29789 [Fbk->NoF]: Output handler set in ini not used | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73818@lists.php.net to get a copy of this message | ||
ID: 29789
Updated by: php-bugs@lists.php.net
Reported By: sander at innove dot nl
-Status: Feedback
+Status: No Feedback
Bug Type: Output Control
Operating System: Linux / Windows
PHP Version: 4.3.8
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2005-02-03 04:50:51] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-08-22 15:36:53] sander at innove dot nl
reproducing code must be:
[.htaccess]:
php_value auto_prepend_file foo.php
php_flag output_buffering on
php_value foo
[foo.php]
foo(&$buffer)
{
return "foo" . $buffer;
}
[bar.php]
echo "bar";
------------------------------------------------------------------------
[2004-08-22 15:34:37] sander at innove dot nl
Description:
------------
The problem seems to occur on both Windows and Linux, using any version
from 4.3.2 or higher (5.x.x not included). When I define an
output_handler in my php.ini of .htaccess and turn output-buffering on,
the output_handler is not called before sending the output to the
browser.
Reproduce code:
---------------
[.htaccess]:
php_value auto_prepend_file foo.php
php_flag output_buffering on
php_value foo
[prepend.php]
foo(&$buffer)
{
return "foo" . $buffer;
}
[bar.php]
echo "bar";
Expected result:
----------------
foobar
Actual result:
--------------
bar
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29789&edit=1