01.05.2011, 17:19
Alternatively, you can use header() and forward them to the URL you want them to visit, i.e:
HTTP_HOST is probably not the best var to use either, I'm pretty sure there's a global var in $_SERVER that is a little less detailed.
PHP код:
header("Location: http://some.thing.com/");
