Want to have it display www.mydomain.com and reflect whatever domain it's on.
$domain = $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; print $domain;
You can style this however you want by adding tags in front of, and behind this.
cool thanks, is there anyway to display it without /index.php ? it currently appears as domain/index.php
update: I removed the second bit and it displayed the way I was looking for.
Comments
Add a little php to your template
You can style this however you want by adding tags in front of, and behind this.
cool thanks, is there anyway
cool thanks, is there anyway to display it without /index.php ? it currently appears as domain/index.php
update: I removed the second bit and it displayed the way I was looking for.