PHP How To Show Domain Name of Your Current Website Display

RegisterLogin
PHP How To Show Domain Name of Your Current Website Display
Post Description: PHP How To Show Domain Name of Your Current Website Display
Tags: PHP, How, To, Show, Domain, Name, of, Your, Current, Website, Display
This Post Was Posted On Feb 29, 2008 By web hosting #1306
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

Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Tue Dec 20, 2011 5:18 am
Powered by: Webune Forums V3