- Forums
- PHP
- PHP How To Show Domain Name Of Your Current Website Display
This Page Contains information about PHP How To Show Domain Name Of Your Current Website Display By wallpaperama in category PHP with 0 Replies. [1095], Last Updated: Tue Feb 07, 2023
wallpaperama
Sat Feb 23, 2008
0 Comments
2139 Visits
lets say you want to show your domain name with a script for your website. you can use this:
PHP CODE:
<?php
echo $_SERVER['HTTP_HOST'];
?>
OUTPUT: wallpaperama.com
hope this helps