- 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: Sat May 18, 2024
wallpaperama
Sat Feb 23, 2008
0 Comments
2140 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