ID: 29789 User updated by: sander at innove dot nl Reported By: sander at innove dot nl Status: Open Bug Type: Output Control Operating System: Linux / Windows PHP Version: 4.3.8 New Comment:
Stil no reactions on this bug...why? Previous Comments: ------------------------------------------------------------------------ [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