Reply to Re: List Fails on some computers - www missing in url

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация