Re: header problem
| From: | Michael P. Carel | Date: | Wed, 27 Feb 2002 00:12:35 +0000 |
| Subject: | Re: header problem | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86342@lists.php.net to get a copy of this message | ||
thanks to all who help me regarding this problem, i've finally know the
cause of the header error message, i've got an HTML output on top of the
script (?> <center> <?) I've overlooked that.
thanks for all of your clues and guide. hope to be as good as you there
guys.
Regards,
mike
----- Original Message -----
From: "Jim Lucas [php]" <jimphp@bend.com>
To: "Michael P. Carel" <mikecarel@teamglac.com>; "george Pitcher"
<mandrakephp@yahoo.com>
Cc: "php" <php-general@lists.php.net>
Sent: Wednesday, February 27, 2002 12:32 AM
Subject: Re: [PHP] header problem
> question, is this on a process page or on a page that renders text?
>
> Jim Lucas
> ----- Original Message -----
> From: "Michael P. Carel" <mikecarel@teamglac.com>
> To: "george Pitcher" <mandrakephp@yahoo.com>
> Cc: "php" <php-general@lists.php.net>
> 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" <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
> >
> >
> > --
> > 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