question, is this on a process page or on a page that renders text? Jim Lucas ----- Original Message ----- From: "Michael P. Carel" <[EMAIL PROTECTED]> To: "george Pitcher" <[EMAIL PROTECTED]> Cc: "php" <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 5:44 PM Subject: Re: [PHP] header problem
> 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" <[EMAIL PROTECTED]> > To: "Michael P. Carel" <[EMAIL PROTECTED]> > 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 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php