Re: header problem

From: Date: Fri, 22 Feb 2002 09:33:39 +0000
Subject: Re: header problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-85833@lists.php.net to get a copy of this message
You can't redirect after sending output unless you use Javascript or some other weirdness. Redirections are done before any output. -Rasmus On Fri, 22 Feb 2002, Michael P. Carel wrote: > Hi , > > I have a problem in using the Header() function. I want to automatically > redirect the page into another php script after a form completion but im > receiving this error "Warning: Cannot add header information - headers > already sent by ......" > > Heres the script line: > > header("Location: 8D_Anaform_Admin.php?action=form"); > > Please help im stuck here. > > > > > Regards, > Mike > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#85833) next »