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:[EMAIL PROTECTED]] > 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??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php