I put set output_buffering off in the htaccess so i could have
absolute control in my code.
It doesn't matter what I was trying to do, actually. I created a very
basic test case to illustrate the issue.
And the problem won't happen if you don't bother using the htaccess
code. Why would I have included it if it weren't necessary to
illustrate my issue?
Anyway, it is all irrelevant now as I found the solution in a pear
package.
Simply replace:
while (ob_get_level() > 0) {
ob_end_clean();
}
With:
if (ob_get_level()) {
while (@ob_end_clean());
}
And the issue is solved.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php