If you need to show the domain name in a HTML page, you can do it using following javascript code:
<p>the domain <script type="text/javascript">
document.write(document.domain);
</script> is registered</p>
Using php instead you can use following code:
<p>the domain<?php echo $_SERVER['HTTP_HOST'] ?><br> is registered</p>
- 0 Users Found This Useful