Re: ob_start problem

From: Date: Fri, 21 Mar 2003 16:02:50 +0000
Subject: Re: ob_start problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140598@lists.php.net to get a copy of this message
*guess* you're including the footer twice, or are calling ob_end_flush() more than once..... not anywhere near sure though!! Justin 21/03/03 11:33 PM, Mr Percival (mrpercival@cheerful.com) wrote: > Hi, > > I have a page that has an include at the top of the page and an include at the > bottom of the page. > > in the top include file I have added the command: > > ob_start("ob_gzhandler"); > in the bottom include I have added: > > ob_end_flush(); <-- i thought this was supposed to be run to clean up at the > end of the page. > > Most of the time everything is fine, but on occasions it will give an > "warning" error: > > Warning: ob_gzhandler() [ref.outcontrol]: output handler 'ob_gzhandler' cannot > be used twice in /blahblah/includes/bottom.inc on line 25 > > line 25 is the line > ob_end_flush(); > > I dont understand why it only comes up sometimes and what I am doing for that > to happen, can anyone help me? > > Thanks! :))

« previous php.general (#140598) next »