Paullas
Staff member
- Joined
- Jul 13, 2004
- Posts
- 5,830
- Reaction score
- 375
Hi, i am hoping someone can help/advise.
At the moment i am using the following code to grab the url and display it on a page:
<?
$domainstart = $_SERVER['HTTP_HOST'];
$domainname = str_replace("www.", "", "$domainstart");
?>
then on the page this displays the domain name:
<? echo "$domainname"; ?>
What i am trying to do is when <? echo "$domainname"; ?> shows the url how do i go about it using google fonts.
thanks in advance.
At the moment i am using the following code to grab the url and display it on a page:
<?
$domainstart = $_SERVER['HTTP_HOST'];
$domainname = str_replace("www.", "", "$domainstart");
?>
then on the page this displays the domain name:
<? echo "$domainname"; ?>
What i am trying to do is when <? echo "$domainname"; ?> shows the url how do i go about it using google fonts.
thanks in advance.