Re: header problem

From: Date: Tue, 26 Feb 2002 01:44:09 +0000
Subject: Re: header problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-86180@lists.php.net to get a copy of this message
Thank you George you are right, Im looking for a redirector once details have been checked in the form and written in the database, but how can i do it what whould be the second option? i 've searching for javascript redirector but i cant find one. Could you please help me im stuck here. Regards, Mike ----- Original Message ----- From: "george Pitcher" <mandrakephp@yahoo.com> To: "Michael P. Carel" <mikecarel@teamglac.com> Sent: Friday, February 22, 2002 5:44 PM Subject: Re: [PHP] header problem > Michael, > > You cannot have any 'displayed' text prior to using the header function. > You'll need to do this another way. > > Are you looking for automatic submission after completing a form or > redirection once details have been checked. > > The first one is only possible with client-side scripting such as > javascript (and I'm not sure if it's possible there). The second option > is easy. > > HTH > > George > > > > On Fri, 2002-02-22 at 09:28, 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 > > > > > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com

« previous php.general (#86180) next »