Posted by Rik on 03/06/07 19:54
Vic Spainhower <vic@showsec.com> wrote:
> This seems to have worked for me. However, I have to check with the us=
er =
> who
> was having the problem and see if it works on his machine. Appreciate =
=
> your
> help.
> if ($_SERVER["HTTP_HOST"] =3D=3D 'mysite.com')
> echo '<meta http-equiv=3D"REFRESH" content=3D"0; =
> URL=3Dhttp://www.mysite.com">';
> ?>
When given the chance, alwyas opt for a HTTP header redirect instead of =
=
meta and/or javascript redirect. They're much more reliable.
PS: Please don't quote signatures. Your reply looks rather odd in real =
newsreaders.
-- =
Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions: http://tinyurl.com/anel
[Back to original message]
|