PHP How To Show Domain Name Of Your Current Website Display Post Description:
Post Tags: php, how, to, show, domain, name, of, your, current, website, display, free php support, php scripts, php questions, php answers, programming, codes, scripts This Post Has Been Viewed 482 Times Since Sat Feb 23, 2008 12:00 pm Posted By hostman with 0 replies
PHP How To Show Domain Name Of Your Current Website Display
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
Share
URL:
You can use this HTML code to put it on your website to show your friends this wallpaper. Use this code on your profile like myspace, friendster, Facebook or others. Just Copy and Paste it in your HTML on your websites
Fourms BBCODE:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
Comments and replies About PHP How To Show Domain Name Of Your Current Website Display