RE: [PHP] combining headers with includes

From: Date: Tue, 19 Mar 2002 20:16:15 +0000
Subject: RE: [PHP] combining headers with includes
Groups: php.general 
Request: Send a blank email to php-general+get-89193@lists.php.net to get a copy of this message
Ob_end_clean is clearing the buffer and not sending any data to the browser. Use ob_flush or ob_end_flush(). Output buffereing will take care of ordering the headers so they'll still work even though the include may still be sending some output. > -----Original Message----- > From: Ian Wayne [mailto:ian@typecast.ca] > Subject: [PHP] combining headers with includes > The PHP manual says to use buffering as the way around this: ob_start(); > and ob_end_clean(); > Should these buffer commands go around the include statement? > When I do that > the page doesn't load at all, so I'm guessing that there must > be another > way, but what that way is I have no idea. Does anyone???

« previous php.general (#89193) next »