NYCPHP Meetup

NYPHP.org

[nycphp-talk] CSV output

Chris Shiflett shiflett at php.net
Mon Sep 13 02:31:36 EDT 2004


--- Mark Armendariz <nyphp at enobrev.com> wrote:
> Take a look at header.php line 36.  It could be an extra space or
> newline at the end of a file or an errant echo.

Just to add to this, since it looked like you were using output buffering,
you want to check to make sure your call to ob_start() happens prior to
that part that PHP is complaining about. The ob_end_clean() call should
not output anything, as you were assuming, but there is definitely some
output being generated either prior to ob_start() or after the first
encounter of something like ob_end_clean(), since that turns off output
buffering.

Hope that helps.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly
     Coming Fall 2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/



More information about the talk mailing list