Re: redirect question

From: Date: Wed, 11 Oct 2000 02:37:55 +0000
Subject: Re: redirect question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19468@lists.php.net to get a copy of this message
Jason Murray wrote: > No! Evil! If I don't have JavaScript I won't be redirected... > > <? Header("Location: anotherpage.whatever"); ?> I'm not sure of the limitations of header(), never used it yet... You could also go down the road of meta tags as well: <HEAD> <?php if($something) { echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"1;URL=blah.html\">"; } ?> </HEAD> !!!!! Not sure if the ";" near 'CONTENT=\"1' needs to be escaped, but i'm sure it does !!!!! I'd also be interested to know if <META HTTP-EQUIV="Refresh" CONTENT="1;URL=blah.html"> is 100% reliable. Justin French

« previous php.general (#19468) next »