Aug 9, 2018 06:03 PM
(This post was last modified: Aug 9, 2018 06:06 PM by LinK.)
I have about 14 domains pointed to a primary hosting account, some of them are different by name completely.
I have different divs calling different logos based on what nav is called up.
That script works fine, and if the http://domain1.tld/testy and http://domain2.tld/testy loads the proper logo on the designated page no problem.
What I Want to do now, is enable it so if I access a page from
http://domain1.tld <-- It will show the Domain 1 Logo
http://domain2.tld <-- It will show the Domain 2 Logo
I didnt know if there was a GET for HTTP address.
Thank you for your help
I have different divs calling different logos based on what nav is called up.
PHP Code
<?php
if ($_GET['nav'] == 'test' || $_GET['nav'] == 'test1' || $_GET['nav'] == 'test2' || $_GET['nav'] == 'test3') {
echo "<div id=\"logo-test\"></div>";
}
else if ($_GET['nav'] == 'testy'|| $_GET['nav'] == 'testy1' || $_GET['nav'] == 'testy2') {
echo "<div id=\"logo-testy\"></div>";
}
else {
echo "<div id=\"logo\"></div>";
}
That script works fine, and if the http://domain1.tld/testy and http://domain2.tld/testy loads the proper logo on the designated page no problem.
What I Want to do now, is enable it so if I access a page from
http://domain1.tld <-- It will show the Domain 1 Logo
http://domain2.tld <-- It will show the Domain 2 Logo
I didnt know if there was a GET for HTTP address.
Thank you for your help
![[Image: linksig.png]](https://www.link0207.com/linksig.png)



![[Image: K2c6AfR.png]](https://i.imgur.com/K2c6AfR.png)
