Re: redirect without using header

From: Date: Wed, 13 Nov 2002 13:26:33 +0000
Subject: Re: redirect without using header
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-124210@lists.php.net to get a copy of this message
Hi Heilig, I have been trying to use the ob_start and ob_end_flush(), but I am not sure where to put them. I try putting just before the header() but it still produce the warning that something has been output to the browser. Thanks CK Ong --- "Heilig (Cece) Szabolcs" <cece@balaton.hu> wrote: > Hello! > > > I am getting an error by using header but I > couldn't > > find any part of my code that output anything > before > > using header. > > Check your included files what included before using > header(); > These files start with <? and ends with ?> without > whitespace after that? > > And you can use ob_start() at the start and > ob_end_flush() at the end, > and no problems with outputting before add headers. > > ============================================================= > Heilig (Cece) Szabolcs - cece@php.net - > http://www.phphost.hu > ============================================================= > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ Do You Yahoo!? Great flight deals, travel info and prizes! http://sg.travel.yahoo.com

« previous php.general (#124210) next »