Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: redirect function


Message #1 by Super Powerfulrez <powerfulrez@g...> on Wed, 08 Aug 2001 07:00:57 -0700 (PDT)
Well, there is no "code snapshot".  Basically you just have to make sure you
don't send other headers and such before hand.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com

----- Original Message -----
From: "Sokun Chorn" <sokunxp@g...>
To: "professional php" <pro_php@p...>
Sent: Wednesday, August 08, 2001 12:19 PM
Subject: [pro_php] Re: redirect function


> yes header() is better but I use to have problem with it header send or
> something like that.
> Can you give a clean code snap shot, if you don't mind.
> :)
>
> ----- Original Message -----
> From: "Adam Lang" <aalang@r...>
> To: "professional php" <pro_php@p...>
> Sent: Wednesday, August 08, 2001 9:54 PM
> Subject: [pro_php] Re: redirect function
>
>
> > The one reason I can see to go with the meta tags as opposed to the
header
> > command is because of the rule of sending a header after other headers
> have
> > been sent.
> >
> > If done correctly, using header() is the clean way to do it.  Using the
> meta
> > tag gives you a bit larger margin of error, but is slower and
technically
> > incorrect.
> >
> > Adam Lang
> > Systems Engineer
> > Rutgers Casualty Insurance Company
> > http://www.rutgersinsurance.com


  Return to Index