Quote:
|
Originally Posted by delinear
I think you can detect this through $_SERVER['SERVER_NAME'] or $_SERVER['HTTP_HOST']
|
thx, but i'm not very good with php
PHP Code:
if ($_SERVER['HTTP_HOST'] == "www.mydomain.com")
{
//then what
}
// i suppose ill have lots of elses underneath for al my domains
3 Questions
1.)Could somebody do it for me? please
2.)If not, is that right?
3.)How do I do the redirect bit?