Forum Moderators: phranque
if (preg_match('/^(www\.)?example1\.co\.uk\.?(:[0-9]+)?$/',$_SERVER['HTTP_HOST']))
{
$variables = 'stuff';
}
else if (preg_match('/^(www\.)?example2\.co\.uk\.?(:[0-9]+)?$/',$_SERVER['HTTP_HOST']))
{
$variables = 'other stuff';
} And I was wondering if there was any method for defining a seperate favicon library for each URL?
Regards,
Readie
I am intrigued by the idea from phranque to use mod_rewrite however, and will look into it at some point in the near future simply for experimental and self-learning purposes.
Will post here after.
Regards,
Readie