A
Anonymous
Guest
Hi
Hope some one can shed some light on a small problem I have.
I want to dynamically display a logo depending on what domain is pointing at the site.
So at the moment the code is this
define('HTTP_SERVER', 'http://www.domain.com');
I have tried this but it has thrown up errors.
define('HTTP_SERVER', '.$_SERVER['SERVER_NAME'].');
Can this be done or have I just written the code wrong
Thanks in advance :idea:
Hope some one can shed some light on a small problem I have.
I want to dynamically display a logo depending on what domain is pointing at the site.
So at the moment the code is this
define('HTTP_SERVER', 'http://www.domain.com');
I have tried this but it has thrown up errors.
define('HTTP_SERVER', '.$_SERVER['SERVER_NAME'].');
Can this be done or have I just written the code wrong
Thanks in advance :idea: